Gets the toplevel window that’s an ancestor of @window.
Works like gdk_window_get_toplevel(), but treats an offscreen window's embedder as its parent, using gdk_window_get_effective_parent().
See also: gdk_offscreen_window_get_embedder()
Return: the effective toplevel window containing @window
2.22
See Implementation
Gets the toplevel window that’s an ancestor of @window.
Works like gdk_window_get_toplevel(), but treats an offscreen window's embedder as its parent, using gdk_window_get_effective_parent().
See also: gdk_offscreen_window_get_embedder()
Return: the effective toplevel window containing @window