Fixing commit 066a15d7aa64eaa0. Don't ever use CurrentTime as event_curtime.

Force event_curtime to be some valid timestamp.
This commit is contained in:
Dana Jansens 2010-10-14 19:37:36 -04:00
parent 4f8503c2c5
commit 8ac60401e9

View file

@ -2202,7 +2202,7 @@ gboolean event_time_after(guint32 t1, guint32 t2)
gboolean find_timestamp(XEvent *e, gpointer data)
{
const Time t = event_get_timestamp(e);
if (t >= event_curtime) {
if (t && t >= event_curtime) {
event_curtime = t;
return TRUE;
}