From: Mikael Magnusson Date: Sun, 19 Sep 2010 17:05:55 +0000 (+0200) Subject: Use >= instead of > when comparing timestamps, or we will ignore some events X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=f458d66c7e2f7ea16a3c57b7fa00c9992ec4592c;p=chaz%2Fopenbox Use >= instead of > when comparing timestamps, or we will ignore some events --- 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; }