diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-04 20:53:33 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-04 20:53:33 +0000 |
| commit | 8772b46b56172e35506f21d626aa89bd649615c6 (patch) | |
| tree | 30545093e0ac201ad2ebb915a00e90bbb889dd57 /openbox/event.c | |
| parent | 9a7c4de2eb73826da9b4415541735f8d7c161c23 (diff) | |
allow focus to fallback to omnipresent windows, except during desktop switching which is when they are vile
Diffstat (limited to 'openbox/event.c')
| -rw-r--r-- | openbox/event.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/event.c b/openbox/event.c index 97b0da84..e7e3326f 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -499,7 +499,7 @@ static void event_process(const XEvent *ec, gpointer data) focus_left_screen = FALSE; - focus_fallback(FALSE, FALSE); + focus_fallback(FALSE, FALSE, TRUE); /* We don't get a FocusOut for this case, because it's just moving from our Inferior up to us. This happens when iconifying a @@ -551,7 +551,7 @@ static void event_process(const XEvent *ec, gpointer data) */ if (!focus_left_screen) - focus_fallback(FALSE, FALSE); + focus_fallback(FALSE, FALSE, TRUE); } } else if (!client) @@ -607,7 +607,7 @@ static void event_process(const XEvent *ec, gpointer data) ob_debug_type(OB_DEBUG_FOCUS, "Focus went to an unmanaged window 0x%x !\n", ce.xfocus.window); - focus_fallback(TRUE, FALSE); + focus_fallback(TRUE, FALSE, TRUE); } } |
