From b29470c129fe7eccce50639cf37c9c2d034c91c6 Mon Sep 17 00:00:00 2001 From: James Turner Date: Thu, 7 Mar 2013 19:33:46 +0000 Subject: [PATCH] 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. --- src/GUI/MouseCursor.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.5