Revision: 1756
Updated Code
at November 10, 2006 00:07 by whitetiger
Updated Code
#include <stdio.h> #include <stdlib.h> #include <X11/Xlib.h> #include <X11/Xutil.h> void mouseMove(int x, int y) { Display *displayMain = XOpenDisplay(NULL); if(displayMain == NULL) { fprintf(stderr, "Errore nell'apertura del Display !!!\n"); exit(EXIT_FAILURE); } XWarpPointer(displayMain, None, None, 0, 0, 0, 0, x, y); XCloseDisplay(displayMain); }
Revision: 1755
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 9, 2006 23:55 by whitetiger
Initial Code
#include <stdio.h> #include <stdlib.h> #include <X11/Xlib.h> #include <X11/Xutil.h> void mouseMove(int x, int y) { Display *displayMain = XOpenDisplay(NULL); if(displayMain == NULL) { fprintf(stderr, "Errore nell'apertura del Display !!!\n"); exit(EXIT_FAILURE); } XWarpPointer(displayMain, None, None, 0, 0, 0, 0, x, y); XCloseDisplay(displayMain); }
Initial URL
Initial Description
Initial Title
Xlib - mouseMove
Initial Tags
window, Bash, unix, osx, c, linux, apache, ssh
Initial Language
C++