GNU bug report logs - #74423
Low level key events

Previous Next

Package: emacs;

Reported by: Cecilio Pardo <cpardo <at> imayhem.com>

Date: Mon, 18 Nov 2024 20:36:02 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Cecilio Pardo <cpardo <at> imayhem.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 74423 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, monnier <at> iro.umontreal.ca
Subject: bug#74423: Low level key events
Date: Sat, 14 Dec 2024 10:26:23 +0100
On 14/12/2024 2:16, Po Lu wrote:
> Cecilio Pardo <cpardo <at> 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.






This bug report was last modified 46 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.