sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit b2ee964434b25a0ccbccb1486b027f69ef34acff
parent 7d1ccafae5a5d2eddfda2f857ea81ce88f141ddc
Author: Patrick Hilhorst <git@hilhorst.be>
Date:   Mon, 22 Nov 2021 19:44:22 +0100

treat fullscreen windows as 'tiled' for commands/focus

Diffstat:
Msway/commands/focus.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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);