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

use surface coordinates for damaging buffers #4252

Merged
merged 1 commit into from
Jun 22, 2019
Merged

Conversation

ii8
Copy link
Contributor

@ii8 ii8 commented Jun 13, 2019

Using the content coordinates can go wrong if the surface inside the content is actually smaller than the content space.

You can see the effect if you run havoc and enter text on the very bottom line; if the content width/height is not an exact multiple of the cell width/height then the text will be cut off.

Somebody more familiar with the sway codebase can hopefully confirm that using pending coordinates instead of current ones has no bad side-effects.

Copy link
Member

@emersion emersion left a comment

Choose a reason for hiding this comment

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

It does fix weston-presentation-shm

@emersion emersion merged commit b59139c into swaywm:master Jun 22, 2019
@emersion
Copy link
Member

Thanks!

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.

3 participants