Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
4995ad77
Commit
4995ad77
authored
Oct 21, 2012
by
KO Myung-Hun
Committed by
Jean-Baptiste Kempf
Oct 22, 2012
Browse files
kva: hide mouse pointer only if it is not hidden
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
3d3db0e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/video_output/kva.c
View file @
4995ad77
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment