diff options
author | Javier <dev.git@javispedro.com> | 2014-12-28 17:21:17 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2014-12-28 17:21:17 +0100 |
commit | 5783a915aa46e01d92948dafa7922b685d9cfdd9 (patch) | |
tree | ac5d68476311edae2391cef4d8a027c0ac363b0e /module | |
parent | ffc74b3a945b603ba9a0c1936f71b47e63ba6672 (diff) | |
download | topmenu-gtk-5783a915aa46e01d92948dafa7922b685d9cfdd9.tar.gz topmenu-gtk-5783a915aa46e01d92948dafa7922b685d9cfdd9.zip |
allow gtk3 menus to overlap with panels, etc.
(matches current gtk2 behavior)
Diffstat (limited to 'module')
-rw-r--r-- | module/menuitem-proxy.c | 2 |
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)) { |