aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--module/menuitem-proxy.c2
1 files changed, 1 insertions, 1 deletions
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))
{