diff options
| author | tv <tv@krebsco.de> | 2026-12-02 04:16:00 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-12-02 04:16:00 +0000 |
| commit | a9f229ad15643f33f9cb60190c433a1d790c759d (patch) | |
| tree | be08532f6cbab053e0a8f582ee96c3576439e0e4 /pkgs/override/alacritty.patch | |
| parent | a965141515cc8539f973446d4ca7ca933cda7f65 (diff) | |
alacritty: keep IME on X11
Instead of the 0.12 fork, which nixpkgs' 0.17 left unused: a patch that
reverts alacritty#8747 for X11, for alacritty#8907.
Diffstat (limited to 'pkgs/override/alacritty.patch')
| -rw-r--r-- | pkgs/override/alacritty.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/override/alacritty.patch b/pkgs/override/alacritty.patch new file mode 100644 index 00000000..7e6ff9d2 --- /dev/null +++ b/pkgs/override/alacritty.patch @@ -0,0 +1,17 @@ +diff --git a/alacritty/src/display/window.rs b/alacritty/src/display/window.rs +index 4e5cccaf..13d20238 100644 +--- a/alacritty/src/display/window.rs ++++ b/alacritty/src/display/window.rs +@@ -442,7 +442,11 @@ impl Window { + pub fn set_ime_inhibitor(&mut self, inhibitor: ImeInhibitor, inhibit: bool) { + if self.ime_inhibitor.contains(inhibitor) != inhibit { + self.ime_inhibitor.set(inhibitor, inhibit); +- self.window.set_ime_allowed(self.ime_inhibitor.is_empty()); ++ // issue: https://github.com/alacritty/alacritty/issues/8907 ++ // basically reverts https://github.com/alacritty/alacritty/pull/8747 ++ if !self.is_x11 { ++ self.window.set_ime_allowed(self.ime_inhibitor.is_empty()); ++ } + } + } + |
