diff options
-rw-r--r-- | gtk/PlatGTK.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 9ba18a8ce..e7dab2327 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -2343,7 +2343,8 @@ void Menu::Show(Point pt, Window &) { if ((pt.y + requisition.height) > screenHeight) { pt.y = screenHeight - requisition.height; } - gtk_item_factory_popup(factory, pt.x - 4, pt.y, 3, 0); + gtk_item_factory_popup(factory, pt.x - 4, pt.y - 4, 3, + gtk_get_current_event_time()); } ElapsedTime::ElapsedTime() { |