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

ShadowEffect: Only use Gtk widgetry at the pain stage #1689

Merged
merged 2 commits into from
Jun 13, 2023

Conversation

tintou
Copy link
Member

@tintou tintou commented Jun 13, 2023

Avoid using Gtk at creation as the current display might not be existing.

Fixes #970
Closes #1687

Avoid using Gtk at creation as the current display might not be existing.
@tintou
Copy link
Member Author

tintou commented Jun 13, 2023

@lenemter What do you say about this instead of deferring ShadowEffect creation?

@danirabbit
Copy link
Member

Fixes #970 ?

Copy link
Member

@lenemter lenemter left a comment

Choose a reason for hiding this comment

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

Works perfectly and is much cleaner. But we need to copy this to plugins/pip/ShadowEffect.vala as well (We need to deduplicate this class, but it's out of scope of this PR)

@tintou
Copy link
Member Author

tintou commented Jun 13, 2023

Fixes #970 ?

Maybe 🤷

@tintou tintou enabled auto-merge (rebase) June 13, 2023 17:01
@tintou tintou merged commit c26f0a0 into master Jun 13, 2023
@tintou tintou deleted the tintou/shadow-later-init-gtk branch June 13, 2023 17:05
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.

ShadowEffect class causes hangs/crashes on Wayland
3 participants