Skip to content

gpui: Fix content size scaling regression on X11#49174

Open
OmChillure wants to merge 2 commits intozed-industries:mainfrom
OmChillure:fix/x11-content-size
Open

gpui: Fix content size scaling regression on X11#49174
OmChillure wants to merge 2 commits intozed-industries:mainfrom
OmChillure:fix/x11-content-size

Conversation

@OmChillure
Copy link
Contributor

@OmChillure OmChillure commented Feb 14, 2026

Closes #49172

  • Fixes a regression on X11 where content size was divided by the scale factor twice after the wgpu migration, causing half-sized rendering on HiDPI screens.
  • Aligns X11 [content_size()] behavior with Wayland by returning logical pixel bounds directly.

Video :
Screencast from 2026-02-14 18-58-36.webm

Release Notes:

Fixed: X11 content size scaling on HiDPI displays after the wgpu migration.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 14, 2026
@maxdeviant maxdeviant changed the title gpui(x11): fix content size scaling regression gpui(x11): Fix content size scaling regression Feb 14, 2026
@zed-industries-bot
Copy link

Warnings
⚠️

This PR is missing release notes.

Please add a "Release Notes" section that describes the change:

Release Notes:

- Added/Fixed/Improved ...

If your change is not user-facing, you can use "N/A" for the entry:

Release Notes:

- N/A

Generated by 🚫 dangerJS against b736814

@maxdeviant maxdeviant changed the title gpui(x11): Fix content size scaling regression gpui: Fix content size scaling regression on X11 Feb 14, 2026
@OmChillure
Copy link
Contributor Author

Hey @maxdeviant some checks were failing due to presence of a "unused import", I have fixed it in this commit, all checks should pass now.

Thank youj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Zed content size scaling regression

2 participants