-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fix damage-ring bounds not being set when unplugging -> plugging in monitor #7530
Conversation
Otherwise the initial bounds would be `INT_MAX` until `handle_mode` or `handle_commit` is called :)
Does it fix the bug to add Line 931 in 9cf66e8
|
It sadly doesn't |
Well, I don't think |
I should have time to debug later tonight :) |
Could we rollback the original commit that actually broke this thing - or did it fix something else for majority of users? At this point I have to ignore any updates for sway-git or build sway manually (while rolling back the problematic commit).. I'm of course open to check fixes in separate devel branch in case something needs to be tested :) |
It's this call that's the caller. Line 1030 in 9cf66e8
Fixed in the latest commit |
I was experiencing integer overflows when trying to expand the damage when working on adding blur in SwayFX, so probably nothing that anyone else experienced :) Does the latest commit still fix the issue @quoing? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
tested the commit and it fixes my issue #7528 ..
|
Thanks! |
#7524 was a partial fix. Seems like this is still an issue when unplugging and plugging the monitor back in.
I'm not sure if it's a good fix due to the
update_output_manager_config
function being called from other places though.