git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
78b7e38
)
Hide Mouse Timeout on mac.
author
Jean-Baptiste Kempf
<jb@videolan.org>
Mon, 24 Mar 2008 06:04:18 +0000
(23:04 -0700)
committer
Jean-Baptiste Kempf
<jb@videolan.org>
Mon, 24 Mar 2008 06:04:49 +0000
(23:04 -0700)
modules/gui/macosx/vout.m
patch
|
blob
|
history
diff --git
a/modules/gui/macosx/vout.m
b/modules/gui/macosx/vout.m
index
11e7cc0
..
55bddd8
100644
(file)
--- a/
modules/gui/macosx/vout.m
+++ b/
modules/gui/macosx/vout.m
@@
-851,9
+851,11
@@
int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
- (void)manage
{
[super manage];
- (void)manage
{
[super manage];
+ unsigned int i_mouse_hide_timeout =
+ var_GetInteger(p_vout, "mouse-hide-timeout") * 1000;
if( p_vout->b_fullscreen )
{
if( p_vout->b_fullscreen )
{
- if( mdate() - i_time_mouse_last_moved >
3000000
)
+ if( mdate() - i_time_mouse_last_moved >
i_mouse_hide_timeout
)
{
[self hideMouse: YES];
}
{
[self hideMouse: YES];
}