[vlc-devel] [PATCH 1/2] kva: hide mouse pointer only if it is not hidden
KO Myung-Hun
komh78 at gmail.com
Sun Oct 21 13:21:15 CEST 2012
---
modules/video_output/kva.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/video_output/kva.c b/modules/video_output/kva.c
index 19ab65f..4151ffa 100644
--- a/modules/video_output/kva.c
+++ b/modules/video_output/kva.c
@@ -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;
--
1.7.3.2
More information about the vlc-devel
mailing list