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

do not pass new size to Resize event #19135

Merged
merged 1 commit into from Nov 7, 2017
Merged

do not pass new size to Resize event #19135

merged 1 commit into from Nov 7, 2017

Conversation

@paulrouget
Copy link
Contributor

paulrouget commented Nov 7, 2017

It's not necessary to pass the new size to the resize event as it can be retrieved via WindowMethods::framebuffer_size().

From the perspective of the embedder, that makes things a bit easier.


This change is Reviewable

@paulrouget paulrouget force-pushed the paulrouget:resize branch from 37447b7 to 8a219e8 Nov 7, 2017
@mbrubeck
Copy link
Contributor

mbrubeck commented Nov 7, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Nov 7, 2017

📌 Commit 8a219e8 has been approved by mbrubeck

@bors-servo
Copy link
Contributor

bors-servo commented Nov 7, 2017

Testing commit 8a219e8 with merge 9de7663...

bors-servo added a commit that referenced this pull request Nov 7, 2017
do not pass new size to Resize event

It's not necessary to pass the new size to the resize event as it can be retrieved via `WindowMethods::framebuffer_size()`.

From the perspective of the embedder, that makes things a bit easier.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19135)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Nov 7, 2017

@bors-servo bors-servo merged commit 8a219e8 into servo:master Nov 7, 2017
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@bors-servo bors-servo mentioned this pull request Nov 7, 2017
3 of 3 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.