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

Call XInitThreads before gtk_init #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ziemas
Copy link

@Ziemas Ziemas commented Jun 8, 2021

Otherwise we run into thread issues later on.

Otherwise we run into thread issues later on.
Copy link

@gucio321 gucio321 left a comment

Choose a reason for hiding this comment

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

Cool!
I also met this issue. it looks, like it occured after some gtk update.

@Ziemas
Copy link
Author

Ziemas commented Jun 10, 2021

The issue with unconditionally calling this is that we might not be running on X, for example if we were running on wayland I don't know what would happen when calling this.

@sqweek
Copy link

sqweek commented Oct 2, 2021

FYI I ended up landing an almost-identical fix upstream which appears to resolve the original segfault issue (sqweek#51).

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.

3 participants