Repository navigation
fix(HUB-8746): scale X11 from GDK_SCALE, wait for XIM handshake - #28
Merged
chris-addison merged 2 commits intoNov 11, 2026
Merged
Conversation
chris-addison
marked this pull request as ready for review
November 11, 2026 01:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two X11 fixes from longbridge/gpui-fast (HUB-8746).
GDK_SCALE(a positive whole number) is used afterXft.dpiand before the RandR DPI guess. Sessions with noXft.dpithat scale by 2 no longer get 1.4167.enable_imereturns until the XIM handshake has created its input context. Creating one earlier names input method 0, and fcitx5 answers with an error that drops XIM for the session.parse_gdk_scaleand the handshake gate have unit tests inx11/client.rs.Not tested: no Linux X11 session here. Logic checked standalone on macOS; the Linux crate could not be cross-checked (no C toolchain or fontconfig). Linux CI is the first compile.
🤖 Generated with Claude Code