Skip to content

Mac: Redraw immediately to prevent shaking on window resize#1901

Merged
ArturKovacs merged 3 commits into
rust-windowing:masterfrom
xiaopengli89:sync-redraw
Apr 6, 2021
Merged

Mac: Redraw immediately to prevent shaking on window resize#1901
ArturKovacs merged 3 commits into
rust-windowing:masterfrom
xiaopengli89:sync-redraw

Conversation

@xiaopengli89
Copy link
Copy Markdown
Contributor

@ArturKovacs ArturKovacs self-requested a review April 4, 2021 19:22
@ArturKovacs
Copy link
Copy Markdown
Contributor

At a first glance this seems to be related to or a duplicate of #1812, but I'm going to give a proper review later.

@ArturKovacs
Copy link
Copy Markdown
Contributor

I was wrong, this addresses different problem than #1812.

Copy link
Copy Markdown
Contributor

@ArturKovacs ArturKovacs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks perfect, but please add an entry to the CHANGELOG.md file, something like:

- On macOS, emit `RedrawRequested` events while the window is being resized.

@xiaopengli89
Copy link
Copy Markdown
Contributor Author

Alright, and thanks for your review.

Comment thread CHANGELOG.md Outdated
Co-authored-by: Markus Røyset <maroider@protonmail.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.

Resize event is not emitted immediately/synchronously

3 participants