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. https://bugzilla.gnome.org/show_bug.cgi?id=662053
This commit is contained in:
parent
ba31ba4615
commit
bf175e72ad
@ -1217,8 +1217,9 @@ meta_window_actor_should_unredirect (MetaWindowActor *self)
|
|||||||
{
|
{
|
||||||
MetaWindow *metaWindow = meta_window_actor_get_meta_window (self);
|
MetaWindow *metaWindow = meta_window_actor_get_meta_window (self);
|
||||||
MetaScreen *screen = meta_window_get_screen (metaWindow);
|
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;
|
int screen_width, screen_height;
|
||||||
MetaRectangle window_rect;
|
MetaRectangle window_rect;
|
||||||
|
Loading…
Reference in New Issue
Block a user