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



commit e8be76784964627f488dffd7a389420389802dde
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 9f43f61..220c0e6 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]