[gtk/wip/matthiasc/popup5: 75/145] surface: Stop setting transient-for for popups
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup5: 75/145] surface: Stop setting transient-for for popups
- Date: Sun, 26 May 2019 19:08:01 +0000 (UTC)
commit a1ac4ad3a599fe25c9df4d9f5d62acfe3a340666
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Apr 22 15:20:47 2019 +0000
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 54cd91a2c9..e681cfa6c8 100644
--- a/gdk/gdksurface.c
+++ b/gdk/gdksurface.c
@@ -811,9 +811,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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]