From eb1c9175f9e9c234e2ed5e17fc774e0a7a1ad6a7 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 16 Apr 2014 16:30:11 -0400 Subject: [PATCH] wayland: Move the RESULT_RESIZED code to the proper place We need to set this when we update window->rect, not when we simply send out a configure event. --- src/wayland/window-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/window-wayland.c b/src/wayland/window-wayland.c index 52bea5952..1d7319c3b 100644 --- a/src/wayland/window-wayland.c +++ b/src/wayland/window-wayland.c @@ -139,6 +139,7 @@ meta_window_wayland_move_resize_internal (MetaWindow *window, * update the real client size to match the buffer size. */ + *result |= META_MOVE_RESIZE_RESULT_RESIZED; window->rect.width = requested_rect.width; window->rect.height = requested_rect.height; @@ -150,7 +151,6 @@ meta_window_wayland_move_resize_internal (MetaWindow *window, if (constrained_rect.width != window->rect.width || constrained_rect.height != window->rect.height) { - *result |= META_MOVE_RESIZE_RESULT_RESIZED; meta_wayland_surface_configure_notify (window->surface, constrained_rect.width, constrained_rect.height);