From 166b8c042ca617a1c66bce98ee9fcf5e393589a9 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 17 Jul 2014 15:23:55 -0400 Subject: [PATCH] wayland: Don't fizzle out attaches --- src/wayland/meta-wayland-surface.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c index 76742b06a..a091d517f 100644 --- a/src/wayland/meta-wayland-surface.c +++ b/src/wayland/meta-wayland-surface.c @@ -188,11 +188,7 @@ toplevel_surface_commit (MetaWaylandSurface *surface, new_width = cogl_texture_get_width (surface->buffer->texture); new_height = cogl_texture_get_height (surface->buffer->texture); - if (new_width != window->rect.width || - new_height != window->rect.height || - pending->dx != 0 || - pending->dy != 0) - meta_window_wayland_move_resize (window, new_width, new_height, pending->dx, pending->dy); + meta_window_wayland_move_resize (window, new_width, new_height, pending->dx, pending->dy); } }