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:
40f20e9
)
only preserve focus for normal omnipresent windows
author
Dana Jansens
<danakj@orodu.net>
Fri, 25 May 2007 23:42:44 +0000
(23:42 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 25 May 2007 23:42:44 +0000
(23:42 +0000)
openbox/screen.c
patch
|
blob
|
history
diff --git
a/openbox/screen.c
b/openbox/screen.c
index
b7cb41c
..
f424ca0
100644
(file)
--- a/
openbox/screen.c
+++ b/
openbox/screen.c
@@
-533,7
+533,8
@@
void screen_set_desktop(guint num, gboolean dofocus)
}
}
- if (focus_client && (focus_client->desktop == DESKTOP_ALL ||
+ if (focus_client && ((client_normal(focus_client) &&
+ focus_client->desktop == DESKTOP_ALL) ||
focus_client->desktop == screen_desktop))
dofocus = FALSE;