diff options
Diffstat (limited to 'sway/desktop')
-rw-r--r-- | sway/desktop/xwayland.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index f5ade8dc..37d0b986 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c | |||
@@ -435,7 +435,7 @@ static void handle_request_configure(struct wl_listener *listener, void *data) { | |||
435 | // Respect minimum and maximum sizes | 435 | // Respect minimum and maximum sizes |
436 | view->natural_width = ev->width; | 436 | view->natural_width = ev->width; |
437 | view->natural_height = ev->height; | 437 | view->natural_height = ev->height; |
438 | container_init_floating(view->container); | 438 | container_floating_resize_and_center(view->container); |
439 | 439 | ||
440 | configure(view, view->container->content_x, | 440 | configure(view, view->container->content_x, |
441 | view->container->content_y, | 441 | view->container->content_y, |