quartz: gdk_window_get_frame_extents() needs to get effective toplevel

This commit is contained in:
Kristian Rietveld 2010-08-15 13:30:55 +02:00
parent dc7a8f9be7
commit 14cc894dd7

View File

@ -2548,7 +2548,7 @@ gdk_window_get_frame_extents (GdkWindow *window,
rect->width = 1;
rect->height = 1;
toplevel = gdk_window_get_toplevel (window);
toplevel = gdk_window_get_effective_toplevel (window);
impl = GDK_WINDOW_IMPL_QUARTZ (GDK_WINDOW_OBJECT (toplevel)->impl);
ns_rect = [impl->toplevel frame];