wayland-surface: Make sure to zero out the geometry
Otherwise our implicit surface geometry calculation will be junk.
This commit is contained in:
parent
0e7221c361
commit
817995d97f
@ -212,7 +212,7 @@ toplevel_surface_commit (MetaWaylandSurface *surface,
|
|||||||
/* We resize X based surfaces according to X events */
|
/* We resize X based surfaces according to X events */
|
||||||
if (window->client_type == META_WINDOW_CLIENT_TYPE_WAYLAND)
|
if (window->client_type == META_WINDOW_CLIENT_TYPE_WAYLAND)
|
||||||
{
|
{
|
||||||
MetaRectangle geom;
|
MetaRectangle geom = { 0 };
|
||||||
|
|
||||||
if (pending->has_new_geometry)
|
if (pending->has_new_geometry)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user