[mutter/wip/surface-two: 2/4] Revert "window: Delay the showing of XWayland clients until set_window_id"
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/surface-two: 2/4] Revert "window: Delay the showing of XWayland clients until set_window_id"
- Date: Mon, 24 Feb 2014 19:47:09 +0000 (UTC)
commit 1783bf20ece7708dbf63da9a9833697c53a91a16
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Feb 24 13:42:21 2014 -0500
Revert "window: Delay the showing of XWayland clients until set_window_id"
This reverts commit 59c8b949ad1b8712be7f1e90f8aaddac897da463.
src/core/window-x11.c | 9 +--------
src/wayland/meta-xwayland.c | 2 --
2 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/src/core/window-x11.c b/src/core/window-x11.c
index 150390a..e43f4c0 100644
--- a/src/core/window-x11.c
+++ b/src/core/window-x11.c
@@ -1485,14 +1485,7 @@ meta_window_x11_new (MetaDisplay *display,
existing_wm_state,
effect,
&attrs);
-
- /* When running as an X compositor, we can simply show the window now.
- *
- * When running as a Wayland compositor, we need to wait until we see
- * the Wayland surface appear. We will later call meta_window_set_surface_mapped()
- * to show the window in our in our set_surface_id implementation */
- if (!meta_is_wayland_compositor ())
- meta_window_set_surface_mapped (window, TRUE);
+ meta_window_set_surface_mapped (window, TRUE);
meta_error_trap_pop (display); /* pop the XSync()-reducing trap */
return window;
diff --git a/src/wayland/meta-xwayland.c b/src/wayland/meta-xwayland.c
index b9c9de3..36b538b 100644
--- a/src/wayland/meta-xwayland.c
+++ b/src/wayland/meta-xwayland.c
@@ -49,8 +49,6 @@ xserver_set_window_id (struct wl_client *client,
surface->window = window;
window->surface = surface;
-
- meta_window_set_surface_mapped (window, TRUE);
}
static const struct xserver_interface xserver_implementation = {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]