Is Wayland support available?

Linux specific questions.
Post Reply
linuxanddos
Posts: 30
Joined: Oct 28, 2023 13:31

Is Wayland support available?

Post by linuxanddos »

My app https://flathub.org/apps/page.codeberg. ... Pfeilspiel is listed as

Code: Select all

potentially unsafe
because it is using X11 instead of Wayland.

Does FreeBasic include Wayland support?
How to enable it including an fallback mode to use X11 if Wayland is not supported?
Last edited by linuxanddos on Dec 07, 2024 8:06, edited 1 time in total.
linuxanddos
Posts: 30
Joined: Oct 28, 2023 13:31

Re: Wayland support

Post by linuxanddos »

It is a long time since my first post: Does someone know if (and how) Wayland is supported by FreeBASIC?
caseih
Posts: 2199
Joined: Feb 26, 2007 5:32

Re: Is Wayland support available?

Post by caseih »

No, FB's graphics library does not support Wayland. I don't think wayland support is or should be very high priority for the folks working on FBC, since it's Linux only and no other Unix system implements it, including FreeBSD or macOS.

And it shouldn't matter either since Xwayland runs automatically on all major Linux desktop environments. Xwayland provides transparent support for X11 apps. I use KDE and X11-based programs run the same as they've always done. You can't even tell the difference between which apps are using native Wayland and which are X11 through Xwayland. Even ssh -X works transparently still.

Flathub's warning is needlessly alarmist. I think Flathub marks most flatpaks as potentially unsafe.
Post Reply