use the last event timestamp when focusing the focus_backup

This commit is contained in:
Dana Jansens 2003-03-26 14:06:55 +00:00
parent 0d6bc13135
commit 106d5630bf

View file

@ -46,7 +46,7 @@ void focus_shutdown()
XDestroyWindow(ob_display, focus_backup); XDestroyWindow(ob_display, focus_backup);
/* reset focus to root */ /* reset focus to root */
XSetInputFocus(ob_display, PointerRoot, RevertToNone, CurrentTime); XSetInputFocus(ob_display, PointerRoot, RevertToNone, event_lasttime);
} }
void focus_set_client(Client *client) void focus_set_client(Client *client)