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

Qt: Fix Wayland support #699

Merged
merged 2 commits into from
Dec 28, 2024
Merged

Conversation

DaniElectra
Copy link
Collaborator

Qt will only create a Wayland surface when show() is called on the main window and on the ScreenWidget. Thus, call the function before creating the GL context.

Doesn't cause regressions on XWayland, untested in other platforms.

Fixes #586

Qt will only create a Wayland surface when show() is called on the main
window and on the ScreenWidget. Thus, call the function before creating
the GL context.

Doesn't cause regressions on XWayland, untested in other platforms.

Fixes wheremyfoodat#586
@DaniElectra DaniElectra changed the title Wayland fixes part 1 Qt: Fix Wayland support Dec 28, 2024
@wheremyfoodat wheremyfoodat merged commit 4ea15c9 into wheremyfoodat:master Dec 28, 2024
16 checks passed
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.

QT version crahses on Wayland
2 participants