check for focus before unfocusing

This commit is contained in:
Dana Jansens 2003-04-08 06:31:25 +00:00
parent c99bb4a049
commit 63b0c5616f

View file

@ -312,6 +312,7 @@ void client_unmanage(Client *self)
}
}
if (focus_client == self)
client_unfocus(self);
/* remove from its group */