Disable the wayland backend on Linux by default

This commit is contained in:
Spike29
2024-07-21 01:55:29 +02:00
parent 7ee5bfdad8
commit 024204ab24
+7
View File
@@ -401,6 +401,13 @@ void remove_local_pid(){
int main( int argc, char* argv[] ){
#ifdef __linux__
// Mouse pointer warping functions do not work with the Wayland backend.
// Forcing the backend to X11 will let us run using XWayland
// which does provide emulation of this functionality.
setenv("QT_QPA_PLATFORM", "xcb", 0);
#endif
crt_init();
streams_init();