[gtk+/wip/attachment-rectangle] menu: set popup menu type hint before attachment rectangle
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/attachment-rectangle] menu: set popup menu type hint before attachment rectangle
- Date: Wed, 26 Aug 2015 12:32:38 +0000 (UTC)
commit 3d1ab8e301336e8a0c640853c3fe924c76d03246
Author: William Hua <william hua canonical com>
Date: Wed Aug 26 13:31:34 2015 +0100
menu: set popup menu type hint before attachment rectangle
gtk/gtkmenu.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 37a44f7..eff9315 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -4570,6 +4570,7 @@ gtk_menu_position (GtkMenu *menu,
gtk_widget_realize (priv->toplevel);
menu_window = gtk_widget_get_window (priv->toplevel);
+ gtk_window_set_type_hint (GTK_WINDOW (priv->toplevel), GDK_WINDOW_TYPE_HINT_POPUP_MENU);
if (menu_window)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]