[gtk+/client-side-windows: 112/284] Include check for offscreen windows in WINDOW_IS_TOPLEVEL
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+/client-side-windows: 112/284] Include check for offscreen windows in WINDOW_IS_TOPLEVEL
- Date: Thu, 2 Apr 2009 14:09:08 -0400 (EDT)
commit 57214245dae78c063415ea13da2d537ce9268dcf
Author: Richard Hult <richard imendio com>
Date: Mon Jan 5 15:34:44 2009 +0100
Include check for offscreen windows in WINDOW_IS_TOPLEVEL
---
gdk/quartz/gdkwindow-quartz.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index c6ed9cb..cf2508b 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -48,9 +48,10 @@ static void clear_toplevel_order (void);
static FullscreenSavedGeometry *get_fullscreen_geometry (GdkWindow *window);
-#define WINDOW_IS_TOPLEVEL(window) \
- (GDK_WINDOW_TYPE (window) != GDK_WINDOW_CHILD && \
- GDK_WINDOW_TYPE (window) != GDK_WINDOW_FOREIGN)
+#define WINDOW_IS_TOPLEVEL(window) \
+ (GDK_WINDOW_TYPE (window) != GDK_WINDOW_CHILD && \
+ GDK_WINDOW_TYPE (window) != GDK_WINDOW_FOREIGN && \
+ GDK_WINDOW_TYPE (window) != GDK_WINDOW_OFFSCREEN)
static void gdk_window_impl_iface_init (GdkWindowImplIface *iface);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]