set the last time to CurrentTime for events that don't have time stamps
Dana Jansens danakj@orodu.net
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
openbox/event.c
→
openbox/event.c
@@ -251,6 +251,9 @@ /* NotifyUngrab occurs when a mouse button is released and the event is
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);