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

Retrieve bounds directly from window and check if null on move or resize event #3461

Merged
merged 3 commits into from
Nov 2, 2023

Conversation

adzialocha
Copy link
Member

@adzialocha adzialocha commented Nov 2, 2023

This fixes an issue where sender is not given on the event object on resize or move events, causing an error where the bounds can not be updated.

Since this issue didn't seem to come up before, I assume this is due to my special Linux setup (no desktop, only using X11 + i3)? Might be an edge case, however, this PR changes the update method to a) make sure it retrieved the bounds b) which are now taken directly from the window instance.

Closes: #3462

@adzialocha adzialocha changed the title Retrieve bounds directly from window and check if null Retrieve bounds directly from window and check if null on move or resize event Nov 2, 2023
@adzialocha adzialocha marked this pull request as ready for review November 2, 2023 11:40
@adzialocha adzialocha merged commit 897de85 into master Nov 2, 2023
1 of 3 checks passed
@adzialocha adzialocha deleted the fix-missing-bounds branch November 2, 2023 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Undefined bounds when resizing or moving window
2 participants