From 8c74ad1992c0c78bd74ade354695dc54743ffad0 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 26 Aug 2011 01:07:51 -0400 Subject: [PATCH] MetaWindowActor: Don't use uninitialized frame borders https://bugzilla.gnome.org/show_bug.cgi?id=656335 --- src/compositor/meta-window-actor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c index 54267939d..c41dae9d7 100644 --- a/src/compositor/meta-window-actor.c +++ b/src/compositor/meta-window-actor.c @@ -2117,6 +2117,8 @@ check_needs_reshape (MetaWindowActor *self) if (priv->window->frame) meta_frame_calc_borders (priv->window->frame, &borders); + else + meta_frame_borders_clear (&borders); region = meta_window_get_frame_bounds (priv->window); if (region != NULL)