Commit e563d38c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Hide Mouse Timeout on mac.

parent 78b7e389
...@@ -851,9 +851,11 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable, ...@@ -851,9 +851,11 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
- (void)manage - (void)manage
{ {
[super 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];
} }
......
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