wayland-surface: Make sure to zero out the geometry

Otherwise our implicit surface geometry calculation will be junk.
This commit is contained in:
Jasper St. Pierre 2014-07-27 15:21:51 +02:00
parent 0e7221c361
commit 817995d97f

View File

@ -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)
{