[vlc-devel] [PATCH 1/2] vout:win32: fix hiding the cursor

Steve Lhomme robux4 at videolabs.io
Wed Aug 9 14:42:27 CEST 2017


---
 modules/video_output/win32/events.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/modules/video_output/win32/events.c b/modules/video_output/win32/events.c
index 51ef3f34ec..d298d4b49d 100644
--- a/modules/video_output/win32/events.c
+++ b/modules/video_output/win32/events.c
@@ -580,10 +580,7 @@ static void UpdateCursor( event_thread_t *p_event, bool b_show )
     HWND hwnd = WindowFromPoint(p);
     if( hwnd == p_event->hvideownd || hwnd == p_event->hwnd )
     {
-        if( b_show )
-            SetCursor( cursor );
-        else
-            SetCursorPos( p.x, p.y );
+        SetCursor( cursor );
     }
 }
 
-- 
2.12.1



More information about the vlc-devel mailing list