Control your cursor (works on X11) in C++