vlc | branch: master | Steve Lhomme <rob...@videolabs.io> | Wed Aug 9 14:42:27 2017 +0200| [360a05d723f8a31484d45b61fb029e189ee35c45] | committer: Jean-Baptiste Kempf
vout:win32: fix hiding the cursor Signed-off-by: Jean-Baptiste Kempf <j...@videolan.org> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=360a05d723f8a31484d45b61fb029e189ee35c45 --- 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 ); } } _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits