Skip to content

Fix x11 window size calculations - #402

Merged
tomaka merged 1 commit into
rust-windowing:masterfrom
jwilm:fix/398
Feb 8, 2018
Merged

tomaka merged 1 commit into
rust-windowing:masterfrom
jwilm:fix/398

Conversation

@jwilm

@jwilm jwilm commented Feb 7, 2018

Copy link
Copy Markdown
Contributor

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
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