Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix x11 window size calculations #402

Merged
merged 1 commit into from
Feb 8, 2018
Merged

Conversation

jwilm
Copy link
Contributor

@jwilm jwilm commented Feb 7, 2018

The fix for returning accurate window position lead to a regression
computing inner size in pixels. This commit resolves that by getting
inner size from the window ID winit caches and still resolving position
by climbing the window hierarchy.

Resolves #398

The fix for returning accurate window position lead to a regression
computing inner size in pixels. This commit resolves that by getting
inner size from the window ID winit caches and still resolving position
by climbing the window hierarchy.

Resolves rust-windowing#398
@tomaka tomaka merged commit 4cce652 into rust-windowing:master Feb 8, 2018
sodiumjoe pushed a commit to sodiumjoe/winit that referenced this pull request Mar 19, 2018
The fix for returning accurate window position lead to a regression
computing inner size in pixels. This commit resolves that by getting
inner size from the window ID winit caches and still resolving position
by climbing the window hierarchy.

Resolves rust-windowing#398
tmfink pushed a commit to tmfink/winit that referenced this pull request Jan 5, 2022
… r=pcwalton

Make `canvas_text` example render on expose

Before this change, the `canvas_text` example would become blank after
navigating to another workspace or being put beneath another window.
This change will listen for the SDL window exposed event, and will
render then instead of only at the beginning.
madsmtm pushed a commit to madsmtm/winit that referenced this pull request Jun 11, 2022
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

winit 0.10.1/x11 render issue - top & right cut off
2 participants