From: James Turner Date: Thu, 7 Mar 2013 19:33:46 +0000 (+0000) Subject: Disable native cursor on Windows for now. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b29470c129fe7eccce50639cf37c9c2d034c91c6;p=flightgear.git Disable native cursor on Windows for now. There's an unfortunate interaction with osgViewer on Windows that needs to be resolved, before the can switched on. --- diff --git a/src/GUI/MouseCursor.cxx b/src/GUI/MouseCursor.cxx index aad589d64..7dc6fbc53 100644 --- a/src/GUI/MouseCursor.cxx +++ b/src/GUI/MouseCursor.cxx @@ -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