wayland: Don't send superfluous configures for uninteresting grab ops

This commit is contained in:
Jasper St. Pierre 2014-07-17 15:53:38 -04:00
parent 679844f791
commit d34ece6f1a

View File

@ -133,6 +133,7 @@ static void
meta_window_wayland_grab_op_began (MetaWindow *window,
MetaGrabOp op)
{
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,6 +143,7 @@ static void
meta_window_wayland_grab_op_ended (MetaWindow *window,
MetaGrabOp op)
{
if (meta_grab_op_is_resizing (op))
surface_state_changed (window);
META_WINDOW_CLASS (meta_window_wayland_parent_class)->grab_op_ended (window, op);