]> Dogcows Code - chaz/openbox/commitdiff
Use >= instead of > when comparing timestamps, or we will ignore some events
authorMikael Magnusson <mikachu@gmail.com>
Sun, 19 Sep 2010 17:05:55 +0000 (19:05 +0200)
committerDana Jansens <danakj@orodu.net>
Mon, 24 Jan 2011 19:19:22 +0000 (14:19 -0500)
openbox/event.c

index c419e39a74a8146451f3abe2eb603cda2b79cfba..0d67fce027b2970462dd2f830681feb576fa7557 100644 (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 >= event_curtime) {
         event_curtime = t;
         return TRUE;
     }
This page took 0.02514 seconds and 4 git commands to generate.