let new utility windows get focus under the normal rules
This commit is contained in:
parent
b2dfa2fc9b
commit
7d93a21878
1 changed files with 4 additions and 3 deletions
|
@ -349,10 +349,11 @@ void client_manage(Window window)
|
||||||
client_search_focus_tree_full(self)) &&
|
client_search_focus_tree_full(self)) &&
|
||||||
/* this checks for focus=false for the window */
|
/* this checks for focus=false for the window */
|
||||||
(!settings || settings->focus != 0) &&
|
(!settings || settings->focus != 0) &&
|
||||||
/* note the check against Type_Normal/Dialog, not client_normal(self),
|
/* note the check against type Normal/Dialog/Utility,
|
||||||
which would also include other types. in this case we want more
|
not client_normal(self), which would also include other types.
|
||||||
strict rules for focus */
|
in this case we want more strict rules for focus */
|
||||||
(self->type == OB_CLIENT_TYPE_NORMAL ||
|
(self->type == OB_CLIENT_TYPE_NORMAL ||
|
||||||
|
self->type == OB_CLIENT_TYPE_UTILITY ||
|
||||||
self->type == OB_CLIENT_TYPE_DIALOG))
|
self->type == OB_CLIENT_TYPE_DIALOG))
|
||||||
{
|
{
|
||||||
activate = TRUE;
|
activate = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue