summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authoral <al@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-11-22 22:05:47 +0000
committeral <al@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-11-22 22:05:47 +0000
commit724f44d3d217ebf2a0c70ce83048f7535ed9f2f3 (patch)
tree82bfae4cc123840a459d3612f6ff82c857010f20 /libvo
parent7d81d69dd54cd5d192fef5652754f2a50b4e0ff7 (diff)
downloadmpv-724f44d3d217ebf2a0c70ce83048f7535ed9f2f3.tar.bz2
mpv-724f44d3d217ebf2a0c70ce83048f7535ed9f2f3.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/x11_common.c2
1 files changed, 0 insertions, 2 deletions
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))
{