summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-26 18:19:35 +0000
committerDana Jansens <danakj@orodu.net>2003-09-26 18:19:35 +0000
commitd5a1b968028839924a7d8f67833ce35bf58cb0f5 (patch)
tree8e4015bbb038e014dc02797cc9fda92899fb6d89 /openbox
parent896098c961a9a37e10541680637eb582805a9523 (diff)
allow focus fallbacks to fullscreen windows
Diffstat (limited to 'openbox')
-rw-r--r--openbox/focus.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/openbox/focus.c b/openbox/focus.c
index eac0dce1..dd83061f 100644
--- a/openbox/focus.c
+++ b/openbox/focus.c
@@ -221,12 +221,7 @@ void focus_fallback(ObFocusFallbackType type)
for (it = focus_order[screen_desktop]; it != NULL; it = it->next)
if (type != OB_FOCUS_FALLBACK_UNFOCUSING || it->data != old)
- if (client_normal(it->data) &&
- /* dont fall back to 'anonymous' fullscreen windows. theres no
- checks for this is in transient/group fallbacks, so they can
- be fallback targets there. */
- !((ObClient*)it->data)->fullscreen &&
- client_can_focus(it->data)) {
+ if (client_normal(it->data) && client_can_focus(it->data)) {
gboolean r = client_focus(it->data);
assert(r);
return;