Skip to content

Impl proper Wayland scaling#23

Merged
levovix0 merged 6 commits intolevovix0:masterfrom
elcritch:impl-proper-wayland-scaling
Feb 26, 2026
Merged

Impl proper Wayland scaling#23
levovix0 merged 6 commits intolevovix0:masterfrom
elcritch:impl-proper-wayland-scaling

Conversation

@elcritch
Copy link
Copy Markdown
Contributor

@elcritch elcritch commented Feb 26, 2026

Took a bit of working with Codex/GPT5 to get Wayland scaling working properly. Especially for fractional scaling. I've tested it with wayland and xwayland with both siwin examples/ and neonim.

The window sizes aren't the same between x11/wayland, but the content sizes match. Manually setting HDI appears to be working as well.

Events computed on wayland now also report using "raw pixel" size matching other platforms (x11, macos). I don't have Windows to verify windows follows it as well.

@elcritch
Copy link
Copy Markdown
Contributor Author

P.S. you should make a post on the Nim forum too! The 1.0 release is pretty cool.

@levovix0 levovix0 merged commit ccc024f into levovix0:master Feb 26, 2026
3 checks passed
@elcritch elcritch deleted the impl-proper-wayland-scaling branch February 27, 2026 04:33
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.

2 participants