From a4956ebdd35e79b05b0f9c8ef0bd08646de8e935 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 11 Apr 2005 06:06:35 +0000 Subject: Fixed 1179713 by masking message box styles before comparison. --- gtk/PlatGTK.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() { -- cgit v1.2.3