Merge pull request #208 from Spike29/master

Disable the wayland backend on Linux by default
This commit is contained in:
Garux
2024-07-23 13:07:32 +05:00
committed by GitHub
+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();