[mutter/wip/surface-content: 14/14] get xwayland working again



commit ac32b9ef95609d167569aec89ffc1235d47f52d7
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Jan 16 17:48:52 2014 -0500

    get xwayland working again

 src/core/window.c           |    3 ++-
 src/wayland/meta-xwayland.c |    2 ++
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index dbac507..13d8e2a 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -1613,7 +1613,8 @@ meta_window_new (MetaDisplay       *display,
                                    META_WINDOW_CLIENT_TYPE_X11,
                                    NULL,
                                    xwindow,
-                                   TRUE,
+                                   /* XXX */
+                                   !meta_is_wayland_compositor (),
                                    existing_wm_state,
                                    effect,
                                    &attrs);
diff --git a/src/wayland/meta-xwayland.c b/src/wayland/meta-xwayland.c
index 02c5b7b..c9be272 100644
--- a/src/wayland/meta-xwayland.c
+++ b/src/wayland/meta-xwayland.c
@@ -48,6 +48,8 @@ xserver_set_window_id (struct wl_client *client,
     {
       surface->window = window;
       window->surface = surface;
+
+      meta_window_set_surface_mapped (window, TRUE);
     }
 }
 


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