mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-26 21:58:08 +01:00
treat fullscreen windows as 'tiled' for commands/focus
This commit is contained in:
parent
7d1ccafae5
commit
b2ee964434
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue