use the last event timestamp when focusing the focus_backup
This commit is contained in:
parent
0d6bc13135
commit
106d5630bf
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue