1
0
Fork 0

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:
Adel Gadllah 2013-02-06 18:04:09 +01:00
parent 493f619adc
commit 5298d1c8d0

View file

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