mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-28 00:00:03 +02:00
Merge pull request #208 from Spike29/master
Disable the wayland backend on Linux by default
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user