Use >= instead of > when comparing timestamps, or we will ignore some events
This commit is contained in:
parent
b1fc19711f
commit
f458d66c7e
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 >= event_curtime) {
|
||||
event_curtime = t;
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue