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

Fix dim effect removal on wayland #1873

Merged
merged 2 commits into from
Mar 1, 2024
Merged

Fix dim effect removal on wayland #1873

merged 2 commits into from
Mar 1, 2024

Conversation

leolost2605
Copy link
Member

@leolost2605 leolost2605 commented Feb 29, 2024

It seems that currently on wayland the window type changes to normal on dialog windows when they are being destroyed so that we don't know they were modal. Therefore instead of checking window type and undimming then we connect to the unmanaged signal and remove the effect when it is emitted. This also cleans up the workarounds we did regarding knowing the transient parent.

Fixes #1800

@leolost2605 leolost2605 requested a review from a team February 29, 2024 13:04
Copy link
Member

@tintou tintou left a comment

Choose a reason for hiding this comment

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

looks good to me

@lenemter lenemter merged commit 585f565 into master Mar 1, 2024
4 checks passed
@lenemter lenemter deleted the leolost/fix-dim-wayland branch March 1, 2024 10:01
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.

Dim effect isn't removed from parent window in Wayland
3 participants