Commit bf175e72 authored by Rui Matos's avatar Rui Matos
Browse files

MetaWindowActor: don't unredirect ARGB32 windows

In particular this would a cause a "flash" when showing the tile preview for
maximization on a non-primary monitor.
parent ba31ba46
......@@ -1217,8 +1217,9 @@ meta_window_actor_should_unredirect (MetaWindowActor *self)
MetaWindow *metaWindow = meta_window_actor_get_meta_window (self);
MetaScreen *screen = meta_window_get_screen (metaWindow);
MetaWindowActorPrivate *priv = self->priv;
if (meta_window_is_override_redirect (metaWindow) && self->priv->opacity == 0xff)
if (meta_window_is_override_redirect (metaWindow) && priv->opacity == 0xff && !priv->argb32)
int screen_width, screen_height;
MetaRectangle window_rect;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment