[gtk+] wayland: Don't assert non-recursing in gdk_window_destroy
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] wayland: Don't assert non-recursing in gdk_window_destroy
- Date: Fri, 28 Aug 2015 20:15:47 +0000 (UTC)
commit 578ba0f974c6e70e02a34266767618140b2c128b
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Aug 28 13:48:46 2015 -0400
wayland: Don't assert non-recursing in gdk_window_destroy
While we do not have subwindows in Wayland, we do create an
artificial root window. When the display is closed, the root
window gets destroyed, causing recursing to be true for the
toplevel windows.
gdk/wayland/gdkwindow-wayland.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index a0901cf..d54a933 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -1617,8 +1617,6 @@ gdk_wayland_window_destroy (GdkWindow *window,
g_return_if_fail (GDK_IS_WINDOW (window));
- /* We don't have nested windows */
- g_return_if_fail (!recursing);
/* Wayland windows can't be externally destroyed; we may possibly
* eventually want to use this path at display close-down
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]