projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c99bb4a
)
check for focus before unfocusing
author
Dana Jansens
<danakj@orodu.net>
Tue, 8 Apr 2003 06:31:25 +0000
(06:31 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 8 Apr 2003 06:31:25 +0000
(06:31 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index 22db6738d9037bda6f8cc3c2c4dd9a9df511eec3..7fca4796bbdb838c6060ed79774b60701c84f327 100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-312,7
+312,8
@@
void client_unmanage(Client *self)
}
}
- client_unfocus(self);
+ if (focus_client == self)
+ client_unfocus(self);
/* remove from its group */
if (self->group) {