From 1661615fef831a9b12d35d6a3cb0790e416a1f5a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 22 Apr 2019 15:20:47 +0000 Subject: [PATCH] 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. --- gdk/gdksurface.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gdk/gdksurface.c b/gdk/gdksurface.c index fd254bfd97..4a977c25d1 100644 --- a/gdk/gdksurface.c +++ b/gdk/gdksurface.c @@ -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; }