diff options
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r-- | sway/desktop/xwayland.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index e3799d2d..29bed955 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c | |||
@@ -10,6 +10,8 @@ | |||
10 | #include "sway/server.h" | 10 | #include "sway/server.h" |
11 | #include "sway/view.h" | 11 | #include "sway/view.h" |
12 | #include "sway/output.h" | 12 | #include "sway/output.h" |
13 | #include "sway/input/seat.h" | ||
14 | #include "sway/input/input-manager.h" | ||
13 | #include "log.h" | 15 | #include "log.h" |
14 | 16 | ||
15 | static bool assert_xwayland(struct sway_view *view) { | 17 | static bool assert_xwayland(struct sway_view *view) { |
@@ -171,4 +173,5 @@ void handle_xwayland_surface(struct wl_listener *listener, void *data) { | |||
171 | sway_view->swayc = cont; | 173 | sway_view->swayc = cont; |
172 | 174 | ||
173 | arrange_windows(cont->parent, -1, -1); | 175 | arrange_windows(cont->parent, -1, -1); |
176 | sway_input_manager_set_focus(input_manager, cont); | ||
174 | } | 177 | } |