[mutter/wip/surface-content: 14/15] window-actor: Don't use TFP under XWayland



commit 63e6e1ddafced1287d994617767da8ac1e75b5f5
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Dec 9 13:59:02 2013 -0500

    window-actor: Don't use TFP under XWayland
    
    Simply have a NULL surface actor until the set_window_id arrives...

 src/compositor/meta-window-actor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c
index 10df90d..4745d96 100644
--- a/src/compositor/meta-window-actor.c
+++ b/src/compositor/meta-window-actor.c
@@ -343,7 +343,7 @@ meta_window_actor_sync_surface_actor (MetaWindowActor *self)
     {
       if (window->surface)
         surface = window->surface->surface_actor;
-      else
+      else if (!meta_is_wayland_compositor ())
         surface = meta_surface_actor_x11_new (window);
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]