comparison src/gui_w32.c @ 31559:a3dca61f3ba3 v9.0.1112

patch 9.0.1112: test_mswin_event() can hang Commit: https://github.com/vim/vim/commit/7b0afc1d7698a79423c7b066a5d8d20dbb8a295a Author: Christopher Plewright <chris@createng.com> Date: Fri Dec 30 16:54:58 2022 +0000 patch 9.0.1112: test_mswin_event() can hang Problem: test_mswin_event() can hang. Solution: Add the "execute" argument to process events right away. (Christopher Plewright, closes #11760)
author Bram Moolenaar <Bram@vim.org>
date Fri, 30 Dec 2022 18:00:05 +0100
parents b9a4699d6a35
children e5ee2ffd826a
comparison
equal deleted inserted replaced
31558:1ccb7045f528 31559:a3dca61f3ba3
886 dead_key = DEAD_KEY_OFF; 886 dead_key = DEAD_KEY_OFF;
887 887
888 modifiers = get_active_modifiers(); 888 modifiers = get_active_modifiers();
889 889
890 ch = simplify_key(ch, &modifiers); 890 ch = simplify_key(ch, &modifiers);
891
892 // Some keys need adjustment when the Ctrl modifier is used.
893 ++no_reduce_keys;
894 ch = may_adjust_key_for_ctrl(modifiers, ch);
895 --no_reduce_keys;
896
891 // remove the SHIFT modifier for keys where it's already included, e.g., 897 // remove the SHIFT modifier for keys where it's already included, e.g.,
892 // '(' and '*' 898 // '(' and '*'
893 modifiers = may_remove_shift_modifier(modifiers, ch); 899 modifiers = may_remove_shift_modifier(modifiers, ch);
894 900
895 // Unify modifiers somewhat. No longer use ALT to set the 8th bit. 901 // Unify modifiers somewhat. No longer use ALT to set the 8th bit.