diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2021-11-22 19:44:22 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2021-11-22 19:44:22 +0100 |
| commit | bb1dd3ed76e73bafcede589d820ccae6b543c2fb (patch) | |
| tree | 32c5bf66359ade6c2367f4ece73deafce1b8ffc7 | |
| parent | 00e715dafc5080811a92e47d2e6dbff8b54e42bd (diff) | |
treat fullscreen windows as 'tiled' for commands/focus
| -rw-r--r-- | sway/commands/focus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/commands/focus.c b/sway/commands/focus.c index 9875f631..2e8584c9 100644 --- a/sway/commands/focus.c +++ b/sway/commands/focus.c @@ -451,7 +451,8 @@ struct cmd_results *cmd_focus(int argc, char **argv) { return cmd_results_new(CMD_FAILURE, ""); } 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); } else { next_focus = node_get_in_direction_tiling(container, seat, direction, descend); |
