From 1bf204696fad551de5b46f7624feb66c0dfc3d34 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20Paul=20K=C3=BChne?= Date: Mon, 20 Feb 2012 13:41:57 +0100 Subject: [PATCH] macosx: limit the screensaver blocking to video playback --- modules/gui/macosx/intf.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m index 5f006e9b04..35cc3781cb 100644 --- a/modules/gui/macosx/intf.m +++ b/modules/gui/macosx/intf.m @@ -1454,7 +1454,7 @@ unsigned int CocoaKeyToVLC( unichar i_key ) p_input = pl_CurrentInput( p_intf ); if( p_input ) { - if( var_GetInteger( p_input, "state" ) == PLAYING_S ) + if( var_GetInteger( p_input, "state" ) == PLAYING_S && [self activeVideoPlayback] ) UpdateSystemActivity( UsrActivity ); vlc_object_release( p_input ); } -- 2.39.2