summaryrefslogtreecommitdiff
path: root/src/ui/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/menu.c')
-rw-r--r--src/ui/menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/menu.c b/src/ui/menu.c
index ebac6ebc..7060733d 100644
--- a/src/ui/menu.c
+++ b/src/ui/menu.c
@@ -139,7 +139,7 @@ menu_closed (GtkMenu *widget,
menu = data;
meta_frames_notify_menu_hide (menu->frames);
- (* menu->func) (menu, gdk_display,
+ (* menu->func) (menu, GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()),
menu->client_xwindow,
gtk_get_current_event_time (),
0, 0,
@@ -158,7 +158,7 @@ activate_cb (GtkWidget *menuitem, gpointer data)
md = data;
meta_frames_notify_menu_hide (md->menu->frames);
- (* md->menu->func) (md->menu, gdk_display,
+ (* md->menu->func) (md->menu, GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()),
md->menu->client_xwindow,
gtk_get_current_event_time (),
md->op,