Only setup tracking rect for toplevels, we only want enter/leave for those

This commit is contained in:
Richard Hult 2009-01-20 14:06:39 +01:00 committed by Alexander Larsson
parent 348abef6f2
commit f12a992be2

View File

@ -133,6 +133,9 @@
GdkWindowImplQuartz *impl = GDK_WINDOW_IMPL_QUARTZ (private->impl);
NSRect rect;
if (!impl->toplevel)
return;
if (trackingRect)
{
[self removeTrackingRect:trackingRect];