Browse Source

Fixed cursor disappearing when using setCursorVisible in Linux

Ithai Levi 12 years ago
parent
commit
baef9633cd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gameplay/src/PlatformLinux.cpp

+ 1 - 1
gameplay/src/PlatformLinux.cpp

@@ -1512,7 +1512,7 @@ void Platform::setCursorVisible(bool visible)
 {
     if (visible != __cursorVisible)
     {
-        if (visible)
+        if (visible==false)
         {
             Cursor invisibleCursor;
             Pixmap bitmapNoData;