From d34ece6f1a255724d5f15c9b137831f03a717be1 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 17 Jul 2014 15:53:38 -0400 Subject: [PATCH] wayland: Don't send superfluous configures for uninteresting grab ops --- src/wayland/window-wayland.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/wayland/window-wayland.c b/src/wayland/window-wayland.c index e4677540a..3fca40b69 100644 --- a/src/wayland/window-wayland.c +++ b/src/wayland/window-wayland.c @@ -133,7 +133,8 @@ static void meta_window_wayland_grab_op_began (MetaWindow *window, MetaGrabOp op) { - surface_state_changed (window); + if (meta_grab_op_is_resizing (op)) + surface_state_changed (window); META_WINDOW_CLASS (meta_window_wayland_parent_class)->grab_op_began (window, op); } @@ -142,7 +143,8 @@ static void meta_window_wayland_grab_op_ended (MetaWindow *window, MetaGrabOp op) { - surface_state_changed (window); + if (meta_grab_op_is_resizing (op)) + surface_state_changed (window); META_WINDOW_CLASS (meta_window_wayland_parent_class)->grab_op_ended (window, op); }