Overrides the XDefineCursor function that sets the display & window cursor.
Creates a new scaled cursor of the original and applies it instead.
Useful for HiDPI software where mouse cursor is too small.
Searched long for a fix for the game Magicite as its tiny microscopic mouse cursor made it unplayable. Didn't find a fix and thus created this workaround.
LD_PRELOAD="/path/to/lib/libxscalecursor.so" /path/to/app/app