[mutter/wip/surface-content: 15/15] get xwayland working again
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/surface-content: 15/15] get xwayland working again
- Date: Wed, 22 Jan 2014 14:20:48 +0000 (UTC)
commit 35ddad990add02a5de3cc43eb8a81c379e3e7acd
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]