diff options
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/x11_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c index 7d4a4c0dca..b704a7b1a0 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -1101,7 +1101,7 @@ void xscreensaver_heartbeat(float time) { XEvent ev; - if (xs_windowid && + if (mDisplay && xs_windowid && ((time - time_last)>30 || (time - time_last)<0)) { time_last = time; |