From f458d66c7e2f7ea16a3c57b7fa00c9992ec4592c Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 19 Sep 2010 19:05:55 +0200 Subject: [PATCH] Use >= instead of > when comparing timestamps, or we will ignore some events --- openbox/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/event.c b/openbox/event.c index c419e39a..0d67fce0 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -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; } -- 2.45.2