aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xdg_shell_v6.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/xdg_shell_v6.c')
-rw-r--r--sway/desktop/xdg_shell_v6.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c
index 8ad6a5ec..82775e2f 100644
--- a/sway/desktop/xdg_shell_v6.c
+++ b/sway/desktop/xdg_shell_v6.c
@@ -135,8 +135,5 @@ void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data) {
135 135
136 arrange_windows(cont->parent, -1, -1); 136 arrange_windows(cont->parent, -1, -1);
137 137
138 for (int i = 0; i < server->input->seats->length; ++i) { 138 sway_input_manager_set_focus(input_manager, cont);
139 struct sway_seat *seat = server->input->seats->items[i];
140 sway_seat_set_focus(seat, cont);
141 }
142} 139}