Skip to content

Implement hidpi support for wayland#341

Closed
elinorbgr wants to merge 3 commits intorust-windowing:masterfrom
elinorbgr:wayland_hidpi
Closed

Implement hidpi support for wayland#341
elinorbgr wants to merge 3 commits intorust-windowing:masterfrom
elinorbgr:wayland_hidpi

Conversation

@elinorbgr
Copy link
Copy Markdown
Contributor

This fixes as few bug regarding size managing in wayland and implements proper HiDPI support.

This follows the workflow as I described in #105 (comment) :

  1. the window is created with requested size assuming a 1.0 dpi factor
  2. once the dpi is known, appropriate HiDPIFactorChanged and Resized events are generated.

As this kind of behavior should be uniform over platforms, I think we need to decide what we wish to do regarding that before merging this PR or #332

@august64 august64 added this to the HiDPI Support milestone May 6, 2018
@august64 august64 added the DS - wayland Affects the Wayland backend, or generally free Unix platforms label May 6, 2018
@elinorbgr
Copy link
Copy Markdown
Contributor Author

Rebased, and added logic to report point/touch input in DPI-corrected coordinates.

@elinorbgr elinorbgr mentioned this pull request May 12, 2018
@elinorbgr elinorbgr mentioned this pull request Jun 3, 2018
@elinorbgr
Copy link
Copy Markdown
Contributor Author

This PR is obsoleted by #548

@elinorbgr elinorbgr closed this Jun 3, 2018
tmfink pushed a commit to tmfink/winit that referenced this pull request Jan 5, 2022
Use SIMD a bit more in the new tiling code.
madsmtm pushed a commit to madsmtm/winit that referenced this pull request Jun 11, 2022
Co-authored-by: wusyong <wusyong@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DS - wayland Affects the Wayland backend, or generally free Unix platforms

Development

Successfully merging this pull request may close these issues.

2 participants