- /* in case that the user don't want us to appear, just return here */
- if(! config_GetInt( VLCIntf, "macosx-fspanel" ) || b_nonActive )
+ /* in case that the user don't want us to appear, make sure we hide the mouse */
+
+ if( !config_GetInt( VLCIntf, "macosx-fspanel" ) )
+ {
+ float time = (float)var_CreateGetInteger( VLCIntf, "mouse-hide-timeout" ) / 1000.;
+ [self setFadeTimer:[NSTimer scheduledTimerWithTimeInterval:time target:self selector:@selector(hideMouse) userInfo:nil repeats:NO]];
+ return;
+ }
+
+ if( b_nonActive )