From 5783a915aa46e01d92948dafa7922b685d9cfdd9 Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 28 Dec 2014 17:21:17 +0100 Subject: allow gtk3 menus to overlap with panels, etc. (matches current gtk2 behavior) --- module/menuitem-proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/menuitem-proxy.c') diff --git a/module/menuitem-proxy.c b/module/menuitem-proxy.c index 898d972..55319b3 100644 --- a/module/menuitem-proxy.c +++ b/module/menuitem-proxy.c @@ -171,7 +171,7 @@ menu_item_position_menu (GtkMenu *menu, monitor_num = gdk_screen_get_monitor_at_window (screen, priv->event_window); if (monitor_num < 0) monitor_num = 0; - gdk_screen_get_monitor_workarea (screen, monitor_num, &monitor); + gdk_screen_get_monitor_geometry (screen, monitor_num, &monitor); if (!gdk_window_get_origin (gtk_widget_get_window (widget), &tx, &ty)) { -- cgit v1.2.3