treat fullscreen windows as 'tiled' for commands/focus
(cherry picked from commit b2ee964434b25a0ccbccb1486b027f69ef34acff)
This commit is contained in:
parent
7a5e62036d
commit
cd1a0aa293
|
@ -451,7 +451,8 @@ struct cmd_results *cmd_focus(int argc, char **argv) {
|
||||||
return cmd_results_new(CMD_FAILURE, "");
|
return cmd_results_new(CMD_FAILURE, "");
|
||||||
}
|
}
|
||||||
struct sway_node *next_focus = NULL;
|
struct sway_node *next_focus = NULL;
|
||||||
if (container_is_floating(container)) {
|
if (container_is_floating(container) &&
|
||||||
|
container->pending.fullscreen_mode == FULLSCREEN_NONE) {
|
||||||
next_focus = node_get_in_direction_floating(container, seat, direction);
|
next_focus = node_get_in_direction_floating(container, seat, direction);
|
||||||
} else {
|
} else {
|
||||||
next_focus = node_get_in_direction_tiling(container, seat, direction, descend);
|
next_focus = node_get_in_direction_tiling(container, seat, direction, descend);
|
||||||
|
|
Loading…
Reference in a new issue