From 817995d97fb559642ae7c3790d6dcd11dc382233 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sun, 27 Jul 2014 15:21:51 +0200 Subject: [PATCH] wayland-surface: Make sure to zero out the geometry Otherwise our implicit surface geometry calculation will be junk. --- src/wayland/meta-wayland-surface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c index eed154ca3..77bef1b6b 100644 --- a/src/wayland/meta-wayland-surface.c +++ b/src/wayland/meta-wayland-surface.c @@ -212,7 +212,7 @@ toplevel_surface_commit (MetaWaylandSurface *surface, /* We resize X based surfaces according to X events */ if (window->client_type == META_WINDOW_CLIENT_TYPE_WAYLAND) { - MetaRectangle geom; + MetaRectangle geom = { 0 }; if (pending->has_new_geometry) {