MetaWindowActor: Don't use uninitialized frame borders
https://bugzilla.gnome.org/show_bug.cgi?id=656335
This commit is contained in:
parent
88064fd534
commit
8c74ad1992
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user