diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-12-18 14:28:01 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-12-18 14:29:16 -0500 |
commit | 020c1846b750ffe56a83595919e88dd6b41bcece (patch) | |
tree | 45ac6faed0a05552b8bca2016615fb395f7ca310 /gtk/gtkstatusicon.c | |
parent | c6df2828b7ca6b65b7ab3c328ebb96bd78c087ee (diff) | |
download | gtk+-020c1846b750ffe56a83595919e88dd6b41bcece.tar.gz |
Use the workarea when placing popups
This uses the new workarea API to avoid placing popups underneath
panels, docks, etc.
Diffstat (limited to 'gtk/gtkstatusicon.c')
-rw-r--r-- | gtk/gtkstatusicon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkstatusicon.c b/gtk/gtkstatusicon.c index bb0abe3303..180936eac4 100644 --- a/gtk/gtkstatusicon.c +++ b/gtk/gtkstatusicon.c @@ -2218,7 +2218,7 @@ gtk_status_icon_position_menu (GtkMenu *menu, monitor_num = 0; gtk_menu_set_monitor (menu, monitor_num); - gdk_screen_get_monitor_geometry (screen, monitor_num, &monitor); + gdk_screen_get_monitor_workarea (screen, monitor_num, &monitor); gdk_window_get_origin (window, x, y); |