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_x.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_x.cxx')
| -rw-r--r-- | src/Fl_x.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index f77568f47..a1e33518e 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_x.cxx,v 1.24.2.11 2000/01/26 06:27:14 bill Exp $" +// "$Id: Fl_x.cxx,v 1.24.2.12 2000/02/18 07:11:09 bill Exp $" // // X specific code for the Fast Light Tool Kit (FLTK). // @@ -451,7 +451,9 @@ int fl_handle(const XEvent& xevent) fl_key_vector[keycode/8] |= (1 << (keycode%8)); static char buffer[21]; KeySym keysym; - int len = XLookupString((XKeyEvent*)&(xevent.xkey),buffer,20,&keysym,0); + //static XComposeStatus compose; + int len = XLookupString((XKeyEvent*)&(xevent.xkey), + buffer, 20, &keysym, 0/*&compose*/); if (keysym && keysym < 0x400) { // a character in latin-1,2,3,4 sets // force it to type a character (not sure if this ever is needed): if (!len) {buffer[0] = char(keysym); len = 1;} @@ -878,5 +880,5 @@ void Fl_Window::make_current() { #endif // -// End of "$Id: Fl_x.cxx,v 1.24.2.11 2000/01/26 06:27:14 bill Exp $". +// End of "$Id: Fl_x.cxx,v 1.24.2.12 2000/02/18 07:11:09 bill Exp $". // |
