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

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

bug#74423: Low level key events


From: Cecilio Pardo
Subject: bug#74423: Low level key events
Date: Sat, 14 Dec 2024 10:26:23 +0100
User-agent: Mozilla Thunderbird

On 14/12/2024 2:16, Po Lu wrote:
Cecilio Pardo <cpardo@imayhem.com> writes:

+#ifndef HAVE_XINPUT2
+static void
+xg_maybe_send_low_level_key_event (struct frame *f,
+                                  GdkEvent *xev)
+{
+  GdkEventKey xkey = xev->key;

Why is this !HAVE_XINPUT2?  GTK input method support exists
independently of XInput 2.

When XInput 2 is active, we get the event through it (XI_KeyPress) first. That gives the information we need. The GTK code is used when there is no XInput and use_native_input is active.







reply via email to

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