mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 19:30:10 +00:00
surface: Stop setting transient-for for popups
This was just a hack to reuse the existing infrastructure. Now that we store parents separately, stop doing it.
This commit is contained in:
parent
1fa2a8217f
commit
1661615fef
@ -817,9 +817,6 @@ gdk_surface_new_popup (GdkDisplay *display,
|
||||
surface = gdk_surface_new (display, GDK_SURFACE_POPUP,
|
||||
parent, 0, 0, 100, 100);
|
||||
|
||||
gdk_surface_set_transient_for (surface, parent);
|
||||
gdk_surface_set_type_hint (surface, GDK_SURFACE_TYPE_HINT_MENU);
|
||||
|
||||
return surface;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user