diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2010-10-30 19:56:20 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2010-10-30 19:56:20 +0000 |
| commit | 8e30c66a9245fa1e367f8bb772268721549e4987 (patch) | |
| tree | 8db372e0de70301574ac0605d4d65a852432132a /src/Fl_x.cxx | |
| parent | 6017a6fae62090b58e466984d570263bb07114d1 (diff) | |
Fixed special handling for ISO back-tab keycode (STR #2369)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_x.cxx')
| -rw-r--r-- | src/Fl_x.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 4467ff760..6300d5d56 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -1254,6 +1254,10 @@ int fl_handle(const XEvent& thisevent) Fl::e_original_keysym = (int)keysym; } Fl::e_keysym = int(keysym); + + // replace XK_ISO_Left_Tab (Shift-TAB) with FL_Tab (modifier flags are set correctly by X11) + if (Fl::e_keysym == 0xfe20) Fl::e_keysym = FL_Tab; + set_event_xy(); Fl::e_is_click = 0; break;} |
