ecere/gui/drivers/XInterface: Fixed hidden cursor
authorJerome St-Louis <jerome@ecere.com>
Sat, 15 Feb 2014 21:33:03 +0000 (13:33 -0800)
committerJerome St-Louis <jerome@ecere.com>
Sat, 15 Feb 2014 21:33:03 +0000 (13:33 -0800)
ecere/src/gui/drivers/XInterface.ec

index ee47210..e5068be 100644 (file)
@@ -3040,7 +3040,7 @@ class XInterface : Interface
    {
       if(window.rootWindow.windowHandle)
          XDefineCursor(xGlobalDisplay, (X11Window) window.rootWindow.windowHandle,
-            cursor == -1 ? (X11Cursor)0 : systemCursors[(SystemCursor)cursor]);
+            cursor == -1 ? nullCursor : systemCursors[(SystemCursor)cursor]);
    }
 
    // --- Caret ---