Commit 4995ad77 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Jean-Baptiste Kempf

kva: hide mouse pointer only if it is not hidden

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 3d3db0e5
......@@ -437,7 +437,8 @@ static int Control( vout_display_t *vd, int query, va_list args )
POINTL ptl;
WinQueryPointerPos( HWND_DESKTOP, &ptl );
if( WinWindowFromPoint( HWND_DESKTOP, &ptl, TRUE ) == sys->client )
if( !sys->is_mouse_hidden &&
WinWindowFromPoint( HWND_DESKTOP, &ptl, TRUE ) == sys->client )
{
WinShowPointer( HWND_DESKTOP, FALSE );
sys->is_mouse_hidden = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment