Also, I had issues while compiling the following: Display *xdisplay = XOpenDisplay(NULL); Window xrootwin = XRootWindow(xdisplay, 0); XSelectInput(xdisplay, xrootwin, KeyReleaseMask); XWarpPointer(xdisplay, None, xrootwin, 0, 0, 0, 0, (width / 2), (height / 2)); XFlush(xdisplay); XCloseDisplay(xdisplay);
...maybe some missing header or linker parameter there?
Also, I had issues while compiling the following: xdisplay, 0); t(xdisplay, xrootwin, KeyReleaseMask); r(xdisplay, None, xrootwin, 0, 0, 0, 0, (width / 2), (height / 2)); xdisplay) ; ay(xdisplay) ;
Display *xdisplay = XOpenDisplay(NULL);
Window xrootwin = XRootWindow(
XSelectInpu
XWarpPointe
XFlush(
XCloseDispl
...maybe some missing header or linker parameter there?