Fixing commit 066a15d7aa64eaa0. Don't ever use CurrentTime as event_curtime.
Force event_curtime to be some valid timestamp.
This commit is contained in:
parent
4f8503c2c5
commit
8ac60401e9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue