From ac32b9ef95609d167569aec89ffc1235d47f52d7 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 16 Jan 2014 17:48:52 -0500 Subject: [PATCH] get xwayland working again --- src/core/window.c | 3 ++- src/wayland/meta-xwayland.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/core/window.c b/src/core/window.c index dbac50751..13d8e2a92 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 02c5b7bc3..c9be27205 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); } }