Skip to content

Host sizing operations#295

Open
prokopyl wants to merge 10 commits into
nextfrom
host-ops
Open

Host sizing operations#295
prokopyl wants to merge 10 commits into
nextfrom
host-ops

Conversation

@prokopyl

@prokopyl prokopyl commented Jul 18, 2026

Copy link
Copy Markdown
Member

Implement several new operations on WindowHandle, allowing these to be performed from outside the WindowHandler:

  • get_size: Allows you to fetch the window's size (in both physical and logical coordinates).
  • resize: Resizes the window.
  • suggest_fallback_scale_factor: Suggest a fallback scale factor for Baseview to use in case it couldn't get one. (Useful in older Win32 and some X11 configurations)

This PR also removes the WindowScalePolicy option, which is now unneeded.

@prokopyl
prokopyl changed the base branch from master to next July 18, 2026 00:28
@prokopyl
prokopyl marked this pull request as ready for review July 18, 2026 01:47
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.

1 participant