]> git.mxchange.org Git - flightgear.git/commitdiff
Disable native cursor on Windows for now.
authorJames Turner <zakalawe@mac.com>
Thu, 7 Mar 2013 19:33:46 +0000 (19:33 +0000)
committerJames Turner <zakalawe@mac.com>
Thu, 7 Mar 2013 19:33:46 +0000 (19:33 +0000)
There's an unfortunate interaction with osgViewer on Windows that needs to be resolved, before the can switched on.

src/GUI/MouseCursor.cxx

index aad589d64c0ce4b441cd69f917f9a745a7287888..7dc6fbc530ac692adb7fa9dfe47f5d7abcfa73b1 100644 (file)
@@ -165,8 +165,12 @@ FGMouseCursor* FGMouseCursor::instance()
             gw->setCursor(osgViewer::GraphicsWindow::InheritCursor);
         }
 
+        // Windows native curosr disabled while interaction with OSG
+        // is resolved - right now NCHITs (non-client-area hits)
+        // overwire the InheritCursor value above, and hence our cursor
+        // get stuck.
        // and create our real implementation
-               static_instance = new WindowsMouseCursor;
+       //      static_instance = new WindowsMouseCursor;
        #endif
         
         // X11