reddit / emacs

exwm, general.el, using s-<SPC> as leader key broke

pimiddy · 2022-02-02 07:44
I'm using exwm and have configured `s-<SPC>` as an input-prefix key as such: ``` (setq exwm-input-prefix-keys '([8388640])) ``` I also use general.el to use `s-<SPC>` as leader key. For example, to have `s-<SPC> <SPC>` as `execute-extended-command`, even when a normal X window is currently focused: ``` (use-package general :config (general-define-key :prefix "s-SPC" "SPC" 'execute-extended-command ... ) ``` This broke recently, and I'm not sure what changed. Now pressing `s-<SPC>` isn't recorded as a keystroke _at all_. `C-h k`, then `s-<SPC>` also doesn't record anything. Does anyone have a similar setup or knows how I can debug this further?
nv-elisp · 2022-02-02 11:19
Running a GTK build of Emacs? Switching to Lucid will work or you can add [the following]( https://github.com/progfolio/.emacs.d/commit/05ddfcd2730ac5399077caa6b7dbfee7e09434de).
pimiddy · 2022-02-02 14:07
Ah, a change in GTK, that's plausible for me. But I'm not sure what you're doing in your code. Can I just `(setq pgtk-use-im-context-on-new-connection nil)`?
ALLCAPSNOBRAKES · 2022-02-03 04:56
i believe OP meant super+space, not shift+space. afaik EXWM doesnt work with PGTK builds yet anyways