diff options
| author | Manolo Gouy <Manolo> | 2013-01-28 21:05:29 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2013-01-28 21:05:29 +0000 |
| commit | 49f8a3cfc939e2a408db36274d1325ebef21b739 (patch) | |
| tree | 888ab95d41950a26a913dde85a149a9f8577d3ac /src/Fl.cxx | |
| parent | e7c0c316612266102c5fb7109173571039db5b67 (diff) | |
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
Diffstat (limited to 'src/Fl.cxx')
| -rw-r--r-- | src/Fl.cxx | 3 |
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: |
