-
-
Notifications
You must be signed in to change notification settings - Fork 588
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
Implement root_change #1091
Implement root_change #1091
Conversation
this change makes |
I added a check for root_change, because it's not present in these backends (there should be some implementation at least in xrender, idk). |
not commenting on whether this is something we want to do, but this change only masks the real problem: stale flags when the backend is destroyed. we need to investigate why that's happening. |
I honestly don't know why this is happening either. Maybe if we resolve the misuse of deinitialization, it will "fix" itself. Because I always use |
i don't think this is a good attitude towards bugs. |
Yeah, well, try to catch a bug that pops up once a week. I'm sure that's not the only reason, in this ticket I was catching the same crash in this assert when just switching windows but only in a specific program. |
fwiw, I can reproduce the Will try this patch. |
I have this patch fixing this problem entirely, and I've been running this patch for months now. Without it, picom is unusable for me. |
Haven't had anymore crashes when changing the monitor layout with this patch. Thanks! Would be great to get it merged :) |
Signed-off-by: Yuxuan Shui <[email protected]>
Signed-off-by: Yuxuan Shui <[email protected]>
Signed-off-by: Yuxuan Shui <[email protected]>
Signed-off-by: Yuxuan Shui <[email protected]>
Signed-off-by: Yuxuan Shui <[email protected]>
Signed-off-by: Yuxuan Shui <[email protected]>
Signed-off-by: Yuxuan Shui <[email protected]>
Signed-off-by: Yuxuan Shui <[email protected]>
Signed-off-by: Yuxuan Shui <[email protected]>
b96315f
to
e356efb
Compare
Co-authored-by: Monsterovich <[email protected]> Signed-off-by: Yuxuan Shui <[email protected]>
e356efb
to
fef7ff8
Compare
This also fixes the crash when the root window size has changed which caused the backend to be destroyed.