summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_win32.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx
index fe3ff5e9b..7bb7b6938 100644
--- a/src/Fl_win32.cxx
+++ b/src/Fl_win32.cxx
@@ -1586,7 +1586,8 @@ content key keyboard layout
3|+ '3' Hungarian
4|+ '4' Turkish
*/
- if (Fl::e_state & FL_CTRL) { // extra processing necessary only when Ctrl is down
+ if ((Fl::e_state & FL_CTRL) && !(GetAsyncKeyState(VK_MENU) >> 15)) {
+ // extra processing necessary only when Ctrl is down and Alt is up
int vk_plus_key = (VkKeyScanA('+') & 0xff); // virtual key of '+'-containing key
bool plus_shift_pos = ((VkKeyScanA('+') & 0x100) != 0); // true means '+' in shifted position
int plus_other_char; // the other char on same key as '+'