From 724f44d3d217ebf2a0c70ce83048f7535ed9f2f3 Mon Sep 17 00:00:00 2001 From: al Date: Tue, 22 Nov 2005 22:05:47 +0000 Subject: Revert previous commit ``Nov 22 To mplayer-cvsl ( 32) [MPlayer-cvslog] CVS: main/libvo x11_common.c,1.199,1.200'' - causes unneeded massive slowdown when stop-xscreensaver is used - is not consistent with the other xscreensaver functions - was commited without my approval git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17034 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/x11_common.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libvo') diff --git a/libvo/x11_common.c b/libvo/x11_common.c index efe4406f08..ed84a69c40 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -1572,8 +1572,6 @@ void xscreensaver_heartbeat(void) unsigned int time = GetTimerMS(); XEvent ev; - if (mDisplay) - xs_windowid = find_xscreensaver_window(mDisplay); if (mDisplay && xs_windowid && ((time - time_last) > 30000 || (time - time_last) < 0)) { -- cgit v1.2.3