exwm
exwm copied to clipboard
Focus Retention when switching to (non-EXWM) buffers
When switching to another window (usually on a different workspace) with an emacs (not EXWM/X) buffer, it happens (50% of cases) that the 'focus' remains on the last window.
This is visible from the cursor color in switched-to window-buffer (a transparent box
)
rather than the full-color active-cursor cursor
More importantly, when in this inactive state, it happens that typing on the keyboard, leads to input-actions on the previous buffer/window (no matter whether it is an EXWM/X buffer or an emacs buffer)! In consequence, the active workspace automatically "switches back" showing the previously active window/workspace/buffer.
Any ideas on how to debug this?
PS 1: For a long time, I suspected that this is the same error as described in #759, but it must be different, since it also happens when switching between emacs-buffers (although less often)
PS 2: Following old #942 I am opening this in this new repo. A big thank you to the maintainer(s) for moving this project forward!