diff options
| author | Bill Spitzak <spitzak@gmail.com> | 2000-02-18 07:11:09 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 2000-02-18 07:11:09 +0000 |
| commit | 0bd9018d649616ec81430bc5c3a2ad2b4f46575a (patch) | |
| tree | e6f86630a8c5b305f7aea5b9c2b4337271b31513 /src/Fl_Group.cxx | |
| parent | 415db360a1c48dec11ef97857efa575221edc1e2 (diff) | |
Fixed the Ctrl+P shortcut problem reported by dalitz@infotech.de
The previous keystroke is not confused with a navigation control
key when the window focus changes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1003 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Group.cxx')
| -rw-r--r-- | src/Fl_Group.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Fl_Group.cxx b/src/Fl_Group.cxx index 8ff018746..495127fe4 100644 --- a/src/Fl_Group.cxx +++ b/src/Fl_Group.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Group.cxx,v 1.8.2.3 1999/08/09 06:19:32 bill Exp $" +// "$Id: Fl_Group.cxx,v 1.8.2.4 2000/02/18 07:11:09 bill Exp $" // // Group widget for the Fast Light Tool Kit (FLTK). // @@ -67,6 +67,8 @@ static int send(Fl_Widget* o, int event) { #define ctrl(x) (x^0x40) static int navkey() { switch (Fl::event_key()) { + case 0: // not an FL_KEYBOARD/FL_SHORTCUT event + break; case FL_Tab: if (!Fl::event_state(FL_SHIFT)) return FL_Right; case 0xfe20: // XK_ISO_Left_Tab @@ -503,5 +505,5 @@ void Fl_Group::draw_outside_label(const Fl_Widget& w) const { } // -// End of "$Id: Fl_Group.cxx,v 1.8.2.3 1999/08/09 06:19:32 bill Exp $". +// End of "$Id: Fl_Group.cxx,v 1.8.2.4 2000/02/18 07:11:09 bill Exp $". // |
