[gtk+/client-side-windows: 152/284] Only setup tracking rect for toplevels, we only want enter/leave for those
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+/client-side-windows: 152/284] Only setup tracking rect for toplevels, we only want enter/leave for those
- Date: Thu, 2 Apr 2009 14:12:30 -0400 (EDT)
commit f12a992be26ecf59f8a171b99e02daac4d1775d0
Author: Richard Hult <richard imendio com>
Date: Tue Jan 20 14:06:39 2009 +0100
Only setup tracking rect for toplevels, we only want enter/leave for those
---
gdk/quartz/GdkQuartzView.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/gdk/quartz/GdkQuartzView.c b/gdk/quartz/GdkQuartzView.c
index 3cc0f2e..35209e3 100644
--- a/gdk/quartz/GdkQuartzView.c
+++ b/gdk/quartz/GdkQuartzView.c
@@ -133,6 +133,9 @@
GdkWindowImplQuartz *impl = GDK_WINDOW_IMPL_QUARTZ (private->impl);
NSRect rect;
+ if (!impl->toplevel)
+ return;
+
if (trackingRect)
{
[self removeTrackingRect:trackingRect];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]