mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
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 */
|
||||
if (window->client_type == META_WINDOW_CLIENT_TYPE_WAYLAND)
|
||||
{
|
||||
MetaRectangle geom;
|
||||
MetaRectangle geom = { 0 };
|
||||
|
||||
if (pending->has_new_geometry)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user