[vlc-commits] vout:win32: fix hiding the cursor
Steve Lhomme
git at videolan.org
Wed Aug 9 17:40:54 CEST 2017
vlc | branch: master | Steve Lhomme <robUx4 at 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 <jb at 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 );
}
}
More information about the vlc-commits
mailing list