[vlc-commits] WIP use ShowCursor

Steve Lhomme git at videolan.org
Mon Apr 15 08:47:26 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Sat Apr  6 13:31:46 2019 +0200| [47057185d50c0459da1676218c12342710b3a763] | committer: Steve Lhomme

WIP use ShowCursor

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=47057185d50c0459da1676218c12342710b3a763
---

 modules/video_output/win32/window.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/video_output/win32/window.c b/modules/video_output/win32/window.c
index 958f527a69..a57a1742c9 100644
--- a/modules/video_output/win32/window.c
+++ b/modules/video_output/win32/window.c
@@ -555,6 +555,9 @@ static void UpdateCursor( vout_window_t *wnd, bool b_show )
 
     /* FIXME I failed to find a cleaner way to force a redraw of the cursor */
     SetCursor( cursor );
+    // GetCursorInfo on Win8+
+    //ShowCursor( !sys->is_cursor_hidden );
+    // TODO remove cursor_empty
 }
 
 static void CALLBACK HideMouse(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime)



More information about the vlc-commits mailing list