prevent cursor change GDK_BLANK_CURSOR->g_clipper_cursor during freelook

This commit is contained in:
Garux
2018-05-14 13:36:44 +03:00
parent b2a911c9b1
commit af9850510f

View File

@@ -102,7 +102,8 @@ void Clipper_modeChanged( bool isClipper ){
if( ( xywnd = g_pParentWnd->GetYZWnd() ) )
gdk_window_set_cursor( xywnd->GetWidget()->window, cursor );
if( g_pParentWnd->GetCamWnd() )
gdk_window_set_cursor( CamWnd_getWidget( *g_pParentWnd->GetCamWnd() )->window, cursor );
if( !isClipper || gdk_pointer_is_grabbed() == FALSE ) /* prevent cursor change `GDK_BLANK_CURSOR->g_clipper_cursor` during freelook */
gdk_window_set_cursor( CamWnd_getWidget( *g_pParentWnd->GetCamWnd() )->window, cursor );
}
if( g_clipper_resetFlip )