ecere/gui/drivers/XInterface: (#992) Setting pointer position implementation
authorJerome St-Louis <jerome@ecere.com>
Sat, 15 Feb 2014 21:55:55 +0000 (13:55 -0800)
committerJerome St-Louis <jerome@ecere.com>
Sat, 15 Feb 2014 22:00:47 +0000 (14:00 -0800)
ecere/src/gui/drivers/XInterface.ec

index 7fa41c8..c392eb1 100644 (file)
@@ -3080,7 +3080,7 @@ class XInterface : Interface
 
    void SetMousePosition(int x, int y)
    {
-
+      XWarpPointer(xGlobalDisplay, None, DefaultRootWindow(xGlobalDisplay), 0, 0, 0, 0, x, y);
    }
 
    void SetMouseRange(Window window, Box box)