mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
window-actor: Never unredirect when under Wayland
https://bugzilla.gnome.org/show_bug.cgi?id=720631
This commit is contained in:
parent
8cb9cfb7b8
commit
56207ddb6a
@ -1321,6 +1321,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);
|
||||||
MetaWindowActorPrivate *priv = self->priv;
|
MetaWindowActorPrivate *priv = self->priv;
|
||||||
|
|
||||||
|
if (meta_is_wayland_compositor ())
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
if (meta_window_requested_dont_bypass_compositor (metaWindow))
|
if (meta_window_requested_dont_bypass_compositor (metaWindow))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
@ -1342,7 +1345,7 @@ meta_window_actor_should_unredirect (MetaWindowActor *self)
|
|||||||
if (meta_window_is_override_redirect (metaWindow))
|
if (meta_window_is_override_redirect (metaWindow))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
if (!meta_is_wayland_compositor () && priv->does_full_damage)
|
if (priv->does_full_damage)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user