diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-30 19:16:19 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-30 19:16:19 +0000 |
| commit | 7d93a21878db8d06bd4e3e9f6bcb6e0aa2e324ed (patch) | |
| tree | 3cd1087356a24088af8131fcd6ff3fe01166f769 /openbox | |
| parent | b2dfa2fc9bdd012cbb7e58a99ddc30440b14d40d (diff) | |
let new utility windows get focus under the normal rules
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/client.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/openbox/client.c b/openbox/client.c index 8ba71172..5a6f443a 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -349,10 +349,11 @@ void client_manage(Window window) client_search_focus_tree_full(self)) && /* this checks for focus=false for the window */ (!settings || settings->focus != 0) && - /* note the check against Type_Normal/Dialog, not client_normal(self), - which would also include other types. in this case we want more - strict rules for focus */ + /* note the check against type Normal/Dialog/Utility, + not client_normal(self), which would also include other types. + in this case we want more strict rules for focus */ (self->type == OB_CLIENT_TYPE_NORMAL || + self->type == OB_CLIENT_TYPE_UTILITY || self->type == OB_CLIENT_TYPE_DIALOG)) { activate = TRUE; |
