mirror of
https://github.com/fltk/fltk.git
synced 2026-05-25 17:42:14 +08:00
Revert r3215. The original issue it "fixed" is no longer
reproduciable, and the change causes the wrong symbol to be generated for Ctrl-minus. STR 264. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -1781,9 +1781,6 @@ fprintf(stderr,"\n");*/
|
||||
keysym = XKeycodeToKeysym(fl_display, keycode, 0);
|
||||
}
|
||||
}
|
||||
// MRS: Can't use Fl::event_state(FL_CTRL) since the state is not
|
||||
// set until set_event_xy() is called later...
|
||||
if ((xevent.xkey.state & ControlMask) && keysym == '-') kp_buffer[0] = 0x1f; // ^_
|
||||
kp_buffer[len] = 0;
|
||||
Fl::e_text = kp_buffer;
|
||||
Fl::e_length = len;
|
||||
|
||||
Reference in New Issue
Block a user