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:
Pierre Ossman
2014-09-12 12:38:07 +00:00
parent 8d2491544b
commit 952369163f
-3
View File
@@ -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;