[mutter] wayland: Don't fizzle out attaches
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland: Don't fizzle out attaches
- Date: Thu, 17 Jul 2014 20:22:04 +0000 (UTC)
commit 166b8c042ca617a1c66bce98ee9fcf5e393589a9
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Jul 17 15:23:55 2014 -0400
wayland: Don't fizzle out attaches
src/wayland/meta-wayland-surface.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index 76742b0..a091d51 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);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]