1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-17 13:17:13 +00:00

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
This commit is contained in:
al 2005-11-22 22:05:47 +00:00
parent 7d81d69dd5
commit 724f44d3d2

View File

@ -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))
{