MetaWindowActor: Don't use uninitialized frame borders

https://bugzilla.gnome.org/show_bug.cgi?id=656335
This commit is contained in:
Jasper St. Pierre 2011-08-26 01:07:51 -04:00
parent 88064fd534
commit 8c74ad1992

View File

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