check for focus before unfocusing
This commit is contained in:
parent
c99bb4a049
commit
63b0c5616f
1 changed files with 2 additions and 1 deletions
|
@ -312,6 +312,7 @@ void client_unmanage(Client *self)
|
|||
}
|
||||
}
|
||||
|
||||
if (focus_client == self)
|
||||
client_unfocus(self);
|
||||
|
||||
/* remove from its group */
|
||||
|
|
Loading…
Reference in a new issue