Commit 1f7094a3 authored by Jonas Ådahl's avatar Jonas Ådahl Committed by Matthias Clasen
Browse files

wayland: Use effective toplevel as popup parent

When using the set transient-for as a popup parent, fetch the effective
toplevel instead, otherwise we will position against the wrong
parent a985e62b
......@@ -1706,7 +1706,10 @@ gdk_wayland_window_map (GdkWindow *window)
&window->x, &window->y, NULL);
transient_for = get_popup_parent (impl->transient_for);
transient_for = gdk_window_get_effective_toplevel (impl->transient_for);
transient_for = get_popup_parent (transient_for);
if (!transient_for)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment