DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2477
Version: 1.3-current
Link: http://www.fltk.org/str.php?L2477
Version: 1.3-current
Index: Fl_Input.cxx
===================================================================
--- Fl_Input.cxx (revision 7981)
+++ Fl_Input.cxx (working copy)
@@ -164,11 +164,12 @@
return 1;
} else return 1;
#else
- if (mods==0) {
- ascii = ctrl('D');
- } else if (mods==FL_SHIFT) {
- ascii = ctrl('X');
- } else return 1;
+ if (mods) return 1; // Alt-Del/Ctrl-Del/Meta-Del: do
nothing
+ if (Fl::event_state() & FL_SHIFT) {
+ ascii = ctrl('X'); // Shift-Del -> ^X
+ } else {
+ ascii = ctrl('D'); // Del -> ^D
+ }
#endif
break;
case FL_Left:
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs