sway

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

commit d1c4ed18671bca0cabf07bd5514d58d3060a5e1c
parent 5f1fe33d369b88539c9fb434703c1c00cd26c903
Author: Ronan Pigott <rpigott@berkeley.edu>
Date:   Thu, 24 Dec 2020 14:43:48 -0700

container: set fullscreen mode before attempting focus

Diffstat:
Msway/tree/container.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/tree/container.c b/sway/tree/container.c @@ -994,6 +994,7 @@ static void container_fullscreen_workspace(struct sway_container *con) { bool enable = true; set_fullscreen_iterator(con, &enable); container_for_each_child(con, set_fullscreen_iterator, &enable); + con->fullscreen_mode = FULLSCREEN_WORKSPACE; con->saved_x = con->x; con->saved_y = con->y; @@ -1017,7 +1018,6 @@ static void container_fullscreen_workspace(struct sway_container *con) { } } - con->fullscreen_mode = FULLSCREEN_WORKSPACE; container_end_mouse_operation(con); ipc_event_window(con, "fullscreen_mode"); }