From 49f8a3cfc939e2a408db36274d1325ebef21b739 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 28 Jan 2013 21:05:29 +0000 Subject: Fix STR#2928: alt+e on US keyboard not processed correctly as shortcut on Mac OS. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9811 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Fl.cxx') 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: -- cgit v1.2.3