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: ...@@ -9,6 +9,7 @@ Various bugfixes notably:
Mac OS X Interface & Port: Mac OS X Interface & Port:
* further usability improvements * further usability improvements
* screensaver/automatic sleep mode is enabled when a video is paused
* Improved Delete-Preferences-Script * Improved Delete-Preferences-Script
......
...@@ -393,7 +393,8 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable, ...@@ -393,7 +393,8 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
- (void)manage - (void)manage
{ {
/* Disable Screensaver */ /* Disable Screensaver, when we're playing something, but allow it on pause */
if( VLCIntf->p_sys->i_play_status == PLAYING_S )
UpdateSystemActivity( UsrActivity ); UpdateSystemActivity( UsrActivity );
} }
......
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