Skip to content

Conversation

@Stebalien
Copy link
Member

Emacs's built-in XIM support can deadlock when trying to communicate with EXWM. This can be fixed by configuring Emacs to NOT use XIM, so we now try to detect potential deadlocks and warn about them.

Emacs's built-in XIM support can deadlock when trying to communicate
with EXWM. This can be fixed by configuring Emacs to NOT use XIM, so we
now try to detect potential deadlocks and warn about them.

* exwm-xim.el: Document how to configure Emacs to not use XIM.
(exwm-xim--deadlock-warning): Add a function that warns when Emacs may
deadlock with EXWM's XIM module.
(exwm-xim--init): Use it.  (Bug #122)
@Stebalien Stebalien force-pushed the steb/xim-deadlock-warning branch from eb45cd0 to 274cf83 Compare December 3, 2025 18:53
@Stebalien Stebalien linked an issue Dec 3, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(exwm-xim-mode) freezes Emacs

2 participants