[gtk/wip/chergert/quartz4u: 93/120] macos: ignore destroyed surfaces
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/quartz4u: 93/120] macos: ignore destroyed surfaces
- Date: Tue, 16 Jun 2020 19:38:45 +0000 (UTC)
commit 2f1c5eb6e586451807132e35b82b15fb54e1c204
Author: Christian Hergert <chergert redhat com>
Date: Thu May 21 09:03:51 2020 -0700
macos: ignore destroyed surfaces
gdk/macos/gdkmacossurface.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/gdk/macos/gdkmacossurface.c b/gdk/macos/gdkmacossurface.c
index 6815e64934..2bff7dc236 100644
--- a/gdk/macos/gdkmacossurface.c
+++ b/gdk/macos/gdkmacossurface.c
@@ -62,6 +62,9 @@ _gdk_macos_surface_reposition_children (GdkMacosSurface *self)
{
g_assert (GDK_IS_MACOS_SURFACE (self));
+ if (GDK_SURFACE_DESTROYED (self))
+ return;
+
if (!gdk_surface_get_mapped (GDK_SURFACE (self)))
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]