]> Dogcows Code - chaz/openbox/commitdiff
set the last time to CurrentTime for events that don't have time stamps
authorDana Jansens <danakj@orodu.net>
Thu, 27 Mar 2003 20:28:06 +0000 (20:28 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 27 Mar 2003 20:28:06 +0000 (20:28 +0000)
openbox/event.c

index 5c948783e4c9171a3a901d32da35817123b516e9..327e3a8dd563f2ee8472180929e47712d690df82 100644 (file)
@@ -251,6 +251,9 @@ void event_process(XEvent *e)
            caused, like when lowering a window */
         if (e->xcrossing.mode == NotifyGrab) return;
        break;
+    default:
+        event_lasttime = CurrentTime;
+        break;
     }
 
     client = g_hash_table_lookup(client_map, &window);
This page took 0.025291 seconds and 4 git commands to generate.