]> git.sesse.net Git - vlc/commitdiff
* allow the screensaver to appear when video playback is paused (closes #963)
authorFelix Paul Kühne <fkuehne@videolan.org>
Sun, 14 Jan 2007 13:02:59 +0000 (13:02 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sun, 14 Jan 2007 13:02:59 +0000 (13:02 +0000)
modules/gui/macosx/vout.m

index 6e07a55f8887efea9bb231be779672e79c3276c8..9e258f4281baed66c8490cee1be135df41721fc5 100644 (file)
@@ -404,8 +404,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