From a2a0be6e1ca553936c4d1e4b152ee9d1436d1e58 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 24 Jan 1999 15:28:59 +0000 Subject: [PATCH] Patch from Bill so that Shift-Tab works on all systems. git-svn-id: file:///fltk/svn/fltk/trunk@239 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Group.cxx | 8 +++++--- src/Fl_Input.cxx | 5 +++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/Fl_Group.cxx b/src/Fl_Group.cxx index f7d837bee..302c36885 100644 --- a/src/Fl_Group.cxx +++ b/src/Fl_Group.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Group.cxx,v 1.6 1999/01/07 19:17:20 mike Exp $" +// "$Id: Fl_Group.cxx,v 1.7 1999/01/24 15:28:58 mike Exp $" // // Group widget for the Fast Light Tool Kit (FLTK). // @@ -152,7 +152,9 @@ int Fl_Group::handle(int event) { int navkey() { switch (Fl::event_key()) { case FL_Tab: - return (Fl::event_state(FL_SHIFT) ? FL_Left : FL_Right); + if (!Fl::event_state(FL_SHIFT)) return FL_Right; + case 0xfe20: // XK_ISO_Left_Tab + return FL_Left; case FL_Right: return FL_Right; case FL_Left: @@ -466,5 +468,5 @@ void Fl_Group::draw_outside_label(const Fl_Widget& w) const { } // -// End of "$Id: Fl_Group.cxx,v 1.6 1999/01/07 19:17:20 mike Exp $". +// End of "$Id: Fl_Group.cxx,v 1.7 1999/01/24 15:28:58 mike Exp $". // diff --git a/src/Fl_Input.cxx b/src/Fl_Input.cxx index 15980f348..95b0de087 100644 --- a/src/Fl_Input.cxx +++ b/src/Fl_Input.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Input.cxx,v 1.9 1999/01/13 15:47:27 mike Exp $" +// "$Id: Fl_Input.cxx,v 1.10 1999/01/24 15:28:59 mike Exp $" // // Input widget for the Fast Light Tool Kit (FLTK). // @@ -289,6 +289,7 @@ int Fl_Input::handle(int event) { up_down_position(size()); break; case FL_Tab: + case 0xfe20: // XK_ISO_Left_Tab position(size(),0); break; } @@ -329,5 +330,5 @@ Fl_Input::Fl_Input(int x, int y, int w, int h, const char *l) } // -// End of "$Id: Fl_Input.cxx,v 1.9 1999/01/13 15:47:27 mike Exp $". +// End of "$Id: Fl_Input.cxx,v 1.10 1999/01/24 15:28:59 mike Exp $". //