Can Linux backend be specified for compiled programs?

Linux specific forum
mfa-nw
New User
New User
Posts: 7
Joined: Thu Jun 02, 2022 1:09 pm

Can Linux backend be specified for compiled programs?

Post by mfa-nw »

I recently posted this question in the general coding section but am moving it here to the Linux section in the hope that someone with a deeper knowledge of Linux can help me.

A few years ago there was some example code on the forum that enabled a program to force the use of the x11 backend when the default was for GTK programs to use wayland.

The default behavior was changed to force the use of x11 in one of the version 6 betas.

Can anyone help with setting the backend back to wayland with more recent versions of Purebasic? It would really help when using hdpi screens and touch with the Gnome desktop.
Fred
Administrator
Administrator
Posts: 18161
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Can Linux backend be specified for compiled programs?

Post by Fred »

For now, you can't act on this, but I will probably add a flag to enable Wayland if needed (some feature won't work then, like the engine3d or opengl gadget)
mfa-nw
New User
New User
Posts: 7
Joined: Thu Jun 02, 2022 1:09 pm

Re: Can Linux backend be specified for compiled programs?

Post by mfa-nw »

Thanks for the fast response. I appreciate your help with this.

I don't need to use the opengl graphics and this option would be really helpful. Purebasic is my favourite development language and this would enable me to make use of the new features that you have been adding recently.
Post Reply