ecere/gui/drivers/XInterface: (#992) Adding XFlush() to XWarpPointer to improved...
authorJerome St-Louis <jerome@ecere.com>
Sat, 15 Feb 2014 23:11:21 +0000 (15:11 -0800)
committerJerome St-Louis <jerome@ecere.com>
Sat, 15 Feb 2014 23:11:21 +0000 (15:11 -0800)
ecere/src/gui/drivers/XInterface.ec

index 20aed95..8efbc50 100644 (file)
@@ -3104,6 +3104,7 @@ class XInterface : Interface
    void SetMousePosition(int x, int y)
    {
       XWarpPointer(xGlobalDisplay, None, DefaultRootWindow(xGlobalDisplay), 0, 0, 0, 0, x, y);
+      XFlush(xGlobalDisplay);
    }
 
    void SetMouseRange(Window window, Box box)