focus nwe transients when another window in their transient tree is focused
This commit is contained in:
parent
ec59af2f99
commit
710f41e622
1 changed files with 3 additions and 3 deletions
|
@ -277,7 +277,8 @@ void client_manage(Window window)
|
||||||
client_restore_session_stacking(self);
|
client_restore_session_stacking(self);
|
||||||
|
|
||||||
/* focus the new window? */
|
/* focus the new window? */
|
||||||
if (ob_state() != OB_STATE_STARTING && config_focus_new &&
|
if (ob_state() != OB_STATE_STARTING &&
|
||||||
|
(config_focus_new || client_search_focus_tree_full(self)) &&
|
||||||
/* note the check against Type_Normal/Dialog, not client_normal(self),
|
/* note the check against Type_Normal/Dialog, not client_normal(self),
|
||||||
which would also include other types. in this case we want more
|
which would also include other types. in this case we want more
|
||||||
strict rules for focus */
|
strict rules for focus */
|
||||||
|
@ -3031,9 +3032,8 @@ int client_directional_edge_search(ObClient *c, ObDirection dir)
|
||||||
case OB_DIRECTION_NORTHWEST:
|
case OB_DIRECTION_NORTHWEST:
|
||||||
case OB_DIRECTION_SOUTHWEST:
|
case OB_DIRECTION_SOUTHWEST:
|
||||||
/* not implemented */
|
/* not implemented */
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
g_assert_not_reached();
|
g_assert_not_reached();
|
||||||
}
|
}
|
||||||
return dest;
|
return dest;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue