Commit 8a767673 authored by Felix Paul Kühne's avatar Felix Paul Kühne

* back-port a fix, which allows sleeping or showing the screensaver when a...

* back-port a fix, which allows sleeping or showing the screensaver when a video is paused [18565] and originally solved #963
parent f4136169
......@@ -9,6 +9,7 @@ Various bugfixes notably:
Mac OS X Interface & Port:
* further usability improvements
* screensaver/automatic sleep mode is enabled when a video is paused
* Improved Delete-Preferences-Script
......
......@@ -393,8 +393,9 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
- (void)manage
{
/* Disable Screensaver */
UpdateSystemActivity( UsrActivity );
/* Disable Screensaver, when we're playing something, but allow it on pause */
if( VLCIntf->p_sys->i_play_status == PLAYING_S )
UpdateSystemActivity( UsrActivity );
}
- (id)getWindow
......
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