From 56207ddb6ac6c188c676d9233c68926ea94bff72 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 6 Dec 2013 12:28:52 -0500 Subject: [PATCH] window-actor: Never unredirect when under Wayland https://bugzilla.gnome.org/show_bug.cgi?id=720631 --- src/compositor/meta-window-actor.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c index f45bd53ad..e7a922025 100644 --- a/src/compositor/meta-window-actor.c +++ b/src/compositor/meta-window-actor.c @@ -1321,6 +1321,9 @@ meta_window_actor_should_unredirect (MetaWindowActor *self) MetaWindow *metaWindow = meta_window_actor_get_meta_window (self); MetaWindowActorPrivate *priv = self->priv; + if (meta_is_wayland_compositor ()) + return FALSE; + if (meta_window_requested_dont_bypass_compositor (metaWindow)) return FALSE; @@ -1342,7 +1345,7 @@ meta_window_actor_should_unredirect (MetaWindowActor *self) if (meta_window_is_override_redirect (metaWindow)) return TRUE; - if (!meta_is_wayland_compositor () && priv->does_full_damage) + if (priv->does_full_damage) return TRUE; return FALSE;