From 0797206cc2da4bba4525b8ff520d542062647098 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 16 Apr 2014 16:25:32 -0400 Subject: [PATCH] window: Use the window's rect for checking whether this is a resize The expected_rect is going to die. --- src/core/window.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/window.c b/src/core/window.c index e61039802..afedcfb05 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -4409,8 +4409,7 @@ meta_window_move_resize_wayland (MetaWindow *window, if (x != window->expected_rect.x || y != window->expected_rect.y) flags |= META_IS_MOVE_ACTION; - if (width != window->expected_rect.width || - height != window->expected_rect.height) + if (width != window->rect.width || height != window->rect.height) flags |= META_IS_RESIZE_ACTION; meta_window_move_resize_internal (window, flags, NorthWestGravity,