[gtk+/client-side-windows: 138/284] Fix bug from first patch round, get private from window, not from impl



commit 19b1f6a93a26bdaa5519ec8efbcc963d11a34c1d
Author: Richard Hult <richard imendio com>
Date:   Wed Jan 7 15:42:06 2009 +0100

    Fix bug from first patch round, get private from window, not from impl
---
 gdk/quartz/gdkevents-quartz.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gdk/quartz/gdkevents-quartz.c b/gdk/quartz/gdkevents-quartz.c
index ac63da3..d24c49f 100644
--- a/gdk/quartz/gdkevents-quartz.c
+++ b/gdk/quartz/gdkevents-quartz.c
@@ -1134,7 +1134,7 @@ _gdk_quartz_events_trigger_crossing_events (gboolean defer_to_mainloop)
     timestamp = GetCurrentEventTime ();
 
   impl = GDK_WINDOW_IMPL_QUARTZ (GDK_WINDOW_OBJECT (toplevel)->impl);
-  private = GDK_WINDOW_OBJECT (impl);
+  private = GDK_WINDOW_OBJECT (toplevel);
   nsevent = [NSEvent otherEventWithType:NSApplicationDefined
                                location:NSMakePoint (x_toplevel, private->height - y_toplevel)
                           modifierFlags:flags



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]