summaryrefslogtreecommitdiff
path: root/src/Fl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl.cxx')
-rw-r--r--src/Fl.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx
index d6f98dc5e..b3e13e218 100644
--- a/src/Fl.cxx
+++ b/src/Fl.cxx
@@ -1280,6 +1280,9 @@ int Fl::handle_(int e, Fl_Window* window)
e_number = e = FL_SHORTCUT;
case FL_SHORTCUT:
+#ifdef __APPLE__
+ if (Fl_X::shortcut_events_since_keyDown++ > 0) return 0;
+#endif
if (grab()) {wi = grab(); break;} // send it to grab window
// Try it as shortcut, sending to mouse widget and all parents: