when windows disappear dont move focus from enter event, ever.
This commit is contained in:
parent
a65b1d202f
commit
e896709c90
1 changed files with 2 additions and 5 deletions
|
@ -483,11 +483,8 @@ void client_unmanage(ObClient *self)
|
||||||
/* flush to send the hide to the server quickly */
|
/* flush to send the hide to the server quickly */
|
||||||
XFlush(ob_display);
|
XFlush(ob_display);
|
||||||
|
|
||||||
if (focus_client == self) {
|
/* ignore enter events from the unmap so it doesnt mess with the focus */
|
||||||
/* ignore enter events from the unmap so it doesnt mess with the focus
|
|
||||||
*/
|
|
||||||
event_ignore_queued_enters();
|
event_ignore_queued_enters();
|
||||||
}
|
|
||||||
|
|
||||||
mouse_grab_for_client(self, FALSE);
|
mouse_grab_for_client(self, FALSE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue