@Wonko Where did you get X headers? I am using QtSDK for windows, and i think I dont got those packed. I am thinking about making virtual cursor with direct drawing on root window, something along with http://ubuntuforums.org/showthread.php?t=1291380