aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r--sway/desktop/xwayland.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index 724c8a82..a7e84aa1 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -173,9 +173,5 @@ void handle_xwayland_surface(struct wl_listener *listener, void *data) {
173 sway_view->swayc = cont; 173 sway_view->swayc = cont;
174 174
175 arrange_windows(cont->parent, -1, -1); 175 arrange_windows(cont->parent, -1, -1);
176 176 sway_input_manager_set_focus(input_manager, cont);
177 for (int i = 0; i < server->input->seats->length; ++i) {
178 struct sway_seat *seat = server->input->seats->items[i];
179 sway_seat_set_focus(seat, cont);
180 }
181} 177}