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

Add an option --features wayland or features x11 #568

Closed
mikekreuzer opened this issue Sep 24, 2022 · 4 comments
Closed

Add an option --features wayland or features x11 #568

mikekreuzer opened this issue Sep 24, 2022 · 4 comments

Comments

@mikekreuzer
Copy link

mikekreuzer commented Sep 24, 2022

Feature request, please. 😃

First brought up in relation to #566 (closed), here: #566

Inspiration is the bevy game engine, their pull request's: #249

Motivation is Wayland on Linux seemingly not being able to position windows.

@FabianLars
Copy link
Member

As Amr said in that other issue: This doesn't make sense for tao since we replaced the custom x11 and Wayland backends with GTK (because we need that for webkitgtk).

Even if we ignore that, this would not necessarily help you. Even if you choose (only) the x11 backend you have no guarantee that XWayland behaves like you want, but it gets even worse: you can't expect XWayland to exist on all Wayland systems in which case it would just crash.

@FabianLars FabianLars closed this as not planned Won't fix, can't repro, duplicate, stale Sep 24, 2022
@amrbashir
Copy link
Member

Apparantly you can force x11 using GDK_BACKEND env var, see https://wiki.archlinux.org/title/GTK#Xorg_backend

@FabianLars
Copy link
Member

We do that in the appimage because it crashes otherwise. Idk but the flag feels a little weird at times too, and it seems to be ignored sometimes for whatever reason (could have been caused by something else, i noticed that when I tested some other appimage stuff)
Aaand it doesn't help with the linked issue either iirc

@mikekreuzer
Copy link
Author

Thank you both for taking the time to respond, I appreciate it.

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

3 participants