From: Dana Jansens Date: Thu, 27 Mar 2003 20:28:06 +0000 (+0000) Subject: set the last time to CurrentTime for events that don't have time stamps X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=2fc662aa62bc12de38b49bb9e687092318873002;p=chaz%2Fopenbox set the last time to CurrentTime for events that don't have time stamps --- diff --git a/openbox/event.c b/openbox/event.c index 5c948783..327e3a8d 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -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);