bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65068: 29.1; xkb-interception interaction causes problems with key c


From: Po Lu
Subject: bug#65068: 29.1; xkb-interception interaction causes problems with key combinations
Date: Thu, 17 Aug 2023 09:09:38 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Thanks.  Please instrument handle_one_xevent in xterm.c as follows:

diff --git a/src/xterm.c b/src/xterm.c
index 6a1642ff56e..a199bae9f16 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -23886,6 +23886,9 @@ handle_one_xevent (struct x_display_info *dpyinfo,
                  if (!XkbTranslateKeyCode (dpyinfo->xkb_desc, keycode,
                                            xkb_state, &mods_rtrn, &keysym))
                    goto XI_OTHER;
+
+                 fprintf (stderr, "keycode: %d, keysym: %d, %u\n", keycode,
+                          (int) keysym, state);
                }
              else
                {

then tell me what is printed when you press Caps Lock (which appears to
be directly translated to AC11 prior to it ever being registered by the
X server), and also if the text changes if you press Caps Lock in
conjunction with Ctrl.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]