diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-02-11 16:15:50 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-02-11 16:15:50 +0000 |
commit | aab2ead008a66fe873091fa721b2d8d8f4083815 (patch) | |
tree | 846e1949282345eb0a3888b721188f8f2cb66c20 /src/gui_x11.c | |
parent | 9d9a20ee8799bafe9caac616fef11b7a26db6a8d (diff) |
patch 9.0.1302: on a Belgian keyboard CTRL-] does not workv9.0.1302
Problem: On a Belgian keyboard CTRL-] does not work.
Solution: Translate CTRL-$ into CTRL-]. (closes #11831)
Diffstat (limited to 'src/gui_x11.c')
-rw-r--r-- | src/gui_x11.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_x11.c b/src/gui_x11.c index 540f143e2a..fc63658f8d 100644 --- a/src/gui_x11.c +++ b/src/gui_x11.c @@ -936,11 +936,11 @@ gui_x11_key_hit_cb( } else { - len = mb_char2bytes(key, string); - // Some keys need adjustment when the Ctrl modifier is used. key = may_adjust_key_for_ctrl(modifiers, key); + len = mb_char2bytes(key, string); + // Remove the SHIFT modifier for keys where it's already included, // e.g., '(', '!' and '*'. modifiers = may_remove_shift_modifier(modifiers, key); |