diff options
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r-- | sway/desktop/xwayland.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index bbaa88c8..273ca2bf 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c | |||
@@ -140,8 +140,11 @@ static void handle_map(struct wl_listener *listener, void *data) { | |||
140 | struct sway_view *view = sway_surface->view; | 140 | struct sway_view *view = sway_surface->view; |
141 | container_view_destroy(view->swayc); | 141 | container_view_destroy(view->swayc); |
142 | 142 | ||
143 | wlr_xwayland_surface_set_maximized(xsurface, true); | ||
144 | |||
143 | struct sway_seat *seat = input_manager_current_seat(input_manager); | 145 | struct sway_seat *seat = input_manager_current_seat(input_manager); |
144 | struct sway_container *focus = sway_seat_get_focus_inactive(seat, &root_container); | 146 | struct sway_container *focus = sway_seat_get_focus_inactive(seat, |
147 | &root_container); | ||
145 | struct sway_container *cont = container_view_create(focus, view); | 148 | struct sway_container *cont = container_view_create(focus, view); |
146 | view->swayc = cont; | 149 | view->swayc = cont; |
147 | arrange_windows(cont->parent, -1, -1); | 150 | arrange_windows(cont->parent, -1, -1); |