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

WindowManager: Only show notifications after their window was shown #2129

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

leolost2605
Copy link
Member

Fixes #2102

The private window_created signal was recently introduced. @lenemter could you provide some background why that was done since it seems to work like this as well?

@leolost2605 leolost2605 requested a review from a team December 1, 2024 14:37
@lenemter
Copy link
Member

lenemter commented Dec 2, 2024

Meta.Display is a static object and AFAIR it doesn't support disconnecting signals. To fix this I introduced Gala.WindowManager.window_created.

@leolost2605
Copy link
Member Author

What do you mean with static object? Could you maybe link a resource or something because tbh I've never heard of static objects in GLib2.0 and a quick google search didn't bring anything either 😅

@lenemter
Copy link
Member

lenemter commented Dec 3, 2024

@leolost2605 I'm referring to this comment: #1587 (comment). TBH I have no idea what or why this happens, you should ask @tintou instead.

@leolost2605
Copy link
Member Author

Ah ok since we do it manually here I hope we should be ok but let's wait for his opinion :)

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.

Notifications sometimes result in segfault
2 participants