ags
ags copied to clipboard
[Xwayland issue] gtk4 project runs in xwayland
when it try to iniiit a gtk4 project and run it. it opens in xwayland how can i fix thiis?
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
in v3 gtk version is now inferred from the main file