aboutsummaryrefslogtreecommitdiff
path: root/sway/handlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/handlers.c')
-rw-r--r--sway/handlers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/handlers.c b/sway/handlers.c
index 931e1340..f8dd9f4d 100644
--- a/sway/handlers.c
+++ b/sway/handlers.c
@@ -350,6 +350,7 @@ static void handle_view_geometry_request(wlc_handle handle, const struct wlc_geo
view->desired_height = geometry->size.h;
if (view->is_floating) {
+ floating_view_sane_size(view);
view->width = view->desired_width;
view->height = view->desired_height;
view->x = geometry->origin.x;