[gtk+] wayland: Don't try to create a subsurface again
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] wayland: Don't try to create a subsurface again
- Date: Tue, 21 Oct 2014 10:18:44 +0000 (UTC)
commit 4af0379aae15b034719f4ab781fca59341b28ac9
Author: Bastien Nocera <hadess hadess net>
Date: Wed Sep 17 18:42:57 2014 +0200
wayland: Don't try to create a subsurface again
We already did that inside gdk_wayland_window_create_surface() that's
called 2 lines above.
https://bugzilla.gnome.org/show_bug.cgi?id=738912
gdk/wayland/gdkwindow-wayland.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 6ee2198..96d9dc6 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -1155,9 +1155,6 @@ gdk_wayland_window_show (GdkWindow *window,
if (!impl->surface)
gdk_wayland_window_create_surface (window);
- if (GDK_WINDOW_TYPE (window) == GDK_WINDOW_SUBSURFACE)
- gdk_wayland_window_create_subsurface (window);
-
gdk_wayland_window_map (window);
_gdk_make_event (window, GDK_MAP, NULL, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]