summaryrefslogtreecommitdiffstats
path: root/sway/desktop/transaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/transaction.c')
-rw-r--r--sway/desktop/transaction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/transaction.c b/sway/desktop/transaction.c
index e717ee35..5dec279d 100644
--- a/sway/desktop/transaction.c
+++ b/sway/desktop/transaction.c
@@ -110,7 +110,7 @@ static void copy_workspace_state(struct sway_workspace *ws,
110 list_cat(state->floating, ws->floating); 110 list_cat(state->floating, ws->floating);
111 list_cat(state->tiling, ws->tiling); 111 list_cat(state->tiling, ws->tiling);
112 112
113 struct sway_seat *seat = input_manager_current_seat(input_manager); 113 struct sway_seat *seat = input_manager_current_seat();
114 state->focused = seat_get_focus(seat) == &ws->node; 114 state->focused = seat_get_focus(seat) == &ws->node;
115 115
116 // Set focused_inactive_child to the direct tiling child 116 // Set focused_inactive_child to the direct tiling child
@@ -153,7 +153,7 @@ static void copy_container_state(struct sway_container *container,
153 list_cat(state->children, container->children); 153 list_cat(state->children, container->children);
154 } 154 }
155 155
156 struct sway_seat *seat = input_manager_current_seat(input_manager); 156 struct sway_seat *seat = input_manager_current_seat();
157 state->focused = seat_get_focus(seat) == &container->node; 157 state->focused = seat_get_focus(seat) == &container->node;
158 158
159 if (!container->view) { 159 if (!container->view) {