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:
c8dc32b
)
use frame->visible, not the desktop number, other states exist too, like show_desktop
author
Dana Jansens
<danakj@orodu.net>
Mon, 26 May 2003 18:39:48 +0000
(18:39 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 26 May 2003 18:39:48 +0000
(18:39 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index
ade1a10
..
c7739fd
100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-2237,7
+2237,7
@@
gboolean client_focus(Client *self)
/* choose the correct target */
self = client_focus_target(self);
- if (
self->desktop != DESKTOP_ALL && self->desktop != screen_desktop
) {
+ if (
!self->frame->visible
) {
/* update the focus lists */
focus_order_to_top(self);
return FALSE;