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: Alexander Prähauser
Subject: bug#65068: 29.1; xkb-interception interaction causes problems with key combinations
Date: Thu, 17 Aug 2023 04:37:16 +0200
User-agent: mu4e 1.10.5; emacs 28.2


How do I do that? I tried putting the code into a bash script and
it says `diff: unrecognized option '--git'`.

Po Lu [2023-08-17 Thu 09:09] wrote:

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]