emacs-devel
[Top][All Lists]
Advanced

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

Re: PGTK-related misconceptions


From: Po Lu
Subject: Re: PGTK-related misconceptions
Date: Thu, 28 Jul 2022 10:50:00 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Akira Kyle <akira@akirakyle.com> writes:

> I'm not totally convinced, since sway should just be using the .xkb
> file I specify. The relevant code is in sway/input/keyboard.c where it
> uses the .xkb file in sway_keyboard_compile_keymap which then sway
> sets using wlr_keyboard_set_keymap inside
> sway_keyboard_configure. So this should be the same keymap that GTK is
> using.

It would be nice if you (or someone else) set a breakpoint here:

->if (mods & (1 << xkb_keymap_mod_get_index (xkb_keymap, "Super")))
    state |= GDK_SUPER_MASK;

in the GDK source code to see what real modifier gets returned under
Sway.

TIA.


reply via email to

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