[gtk+] quartz: gdk_window_get_frame_extents() needs to get effective toplevel
- From: Kristian Rietveld <kristian src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] quartz: gdk_window_get_frame_extents() needs to get effective toplevel
- Date: Sun, 15 Aug 2010 15:37:02 +0000 (UTC)
commit 14cc894dd7ab28df43b58abcc916301c0dda5879
Author: Kristian Rietveld <kris gtk org>
Date: Sun Aug 15 13:30:55 2010 +0200
quartz: gdk_window_get_frame_extents() needs to get effective toplevel
gdk/quartz/gdkwindow-quartz.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index 4be1f5a..12a5adb 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -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];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]