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

[Xwayland issue] gtk4 project runs in xwayland #682

Open
nx-smul opened this issue Feb 18, 2025 · 1 comment
Open

[Xwayland issue] gtk4 project runs in xwayland #682

nx-smul opened this issue Feb 18, 2025 · 1 comment

Comments

@nx-smul
Copy link

nx-smul commented Feb 18, 2025

when it try to iniiit a gtk4 project and run it. it opens in xwayland how can i fix thiis?

@kotontrion
Copy link
Contributor

I guess you are getting this error:

** (gjs:72354): CRITICAL **: 15:22:14.807: window.vala:59: can not initialize layer shell on window: layer shell not supported
tip: running from an xwayland terminal can cause this, for example VsCode

This is quite common when using gtk4 when you forgot to specify the --gtk4 flag for ags

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

No branches or pull requests

2 participants