meta-window-actor: Don't do check_needs_reshape when not mapped
This can cause us ending up with a wrong mask because we don't yet have a pixmap to use in build_and_scan_frame_mask(). https://bugzilla.gnome.org/show_bug.cgi?id=679901
This commit is contained in:
parent
493f619adc
commit
5298d1c8d0
1 changed files with 3 additions and 0 deletions
|
@ -2113,6 +2113,9 @@ check_needs_reshape (MetaWindowActor *self)
|
|||
cairo_rectangle_int_t client_area;
|
||||
gboolean needs_mask;
|
||||
|
||||
if (!priv->mapped)
|
||||
return;
|
||||
|
||||
if (!priv->needs_reshape)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue