mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 19:30:10 +00:00
quartz: gdk_window_get_frame_extents() needs to get effective toplevel
This commit is contained in:
parent
dc7a8f9be7
commit
14cc894dd7
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user