diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-28 00:33:58 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-28 00:33:58 +0000 |
| commit | 16fcb1213d4ccfccd4e4a8ad5e8b0c826dc5c16e (patch) | |
| tree | 2cbd77bce08fa774a36b65070643a835e9178e97 /openbox/focus.c | |
| parent | 8874ec1fc4a142ea67d7c5a45ae9ea92ffdec5ea (diff) | |
when you focus a window, bring any modal children it has to that desktop
when falling back, return the window which actually was focused by client_focus
let you focus cycle to windows when their modal window is on another desktop (it will be brought over)
Diffstat (limited to 'openbox/focus.c')
| -rw-r--r-- | openbox/focus.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/focus.c b/openbox/focus.c index 59dd0d0d..87f589f2 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -166,6 +166,8 @@ ObClient* focus_fallback(gboolean allow_refocus, gboolean allow_pointer) focus_nothing(); new = focus_fallback_target(allow_refocus, allow_pointer, old); + /* get what was really focused */ + if (new) new = client_focus_target(new); return new; } |
