summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/x11_common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index 96cdc05b39..6a522bfda8 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -1597,8 +1597,7 @@ void xscreensaver_heartbeat(void)
unsigned int time = GetTimerMS();
XEvent ev;
- if (mDisplay && xs_windowid &&
- ((time - time_last) > 30000 || (time - time_last) < 0))
+ if (mDisplay && xs_windowid && (time - time_last) > 30000)
{
time_last = time;