aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2005-04-11 06:06:35 +0000
committernyamatongwe <devnull@localhost>2005-04-11 06:06:35 +0000
commit70ffb5030a502c1faddc3875c565a95ccb93f9f5 (patch)
tree968e3a84dac954a340bd67e4b1460f11d62a2057
parentabb64652a810c65daaa0f49bb9ac12092c258d9a (diff)
downloadscintilla-mirror-70ffb5030a502c1faddc3875c565a95ccb93f9f5.tar.gz
Fixed 1179713 by masking message box styles before comparison.
-rw-r--r--gtk/PlatGTK.cxx3
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() {