set the last time to CurrentTime for events that don't have time stamps
This commit is contained in:
parent
e0170fe181
commit
2fc662aa62
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue