summaryrefslogtreecommitdiff
path: root/src/drivers/WinAPI
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2024-08-23 12:43:21 +0200
committerMatthias Melcher <github@matthiasm.com>2024-08-23 12:43:21 +0200
commit1ae43956e2bfb933d63fc774ca8e4ed22e4108dd (patch)
tree3ced80441f3c8c1c05cbfef6d401f92dadc65810 /src/drivers/WinAPI
parentf151ecb87b8ecfca4bfcd352ff7590edf425666a (diff)
Quick fix for Window Ctrl charcter handling.
This is needed to allow platform compatibel e_text and e_length, but a lot more work ist needed to unify keyboard handling
Diffstat (limited to 'src/drivers/WinAPI')
-rw-r--r--src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx
index 6f6d20828..2534d63a5 100644
--- a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx
+++ b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx
@@ -332,7 +332,7 @@ void Fl_WinAPI_Screen_Driver::get_system_colors()
int Fl_WinAPI_Screen_Driver::compose(int &del) {
unsigned char ascii = (unsigned char)Fl::e_text[0];
- int condition = (Fl::e_state & (FL_ALT | FL_META)) && !(ascii & 128) ;
+ int condition = (Fl::e_state & (FL_ALT | FL_META | FL_CTRL)) && !(ascii & 128) ;
if (condition) { // this stuff is to be treated as a function key
del = 0;
return 0;