Fix X11 fallback during init (#1087)

This commit is contained in:
luk1337 2023-03-28 16:01:11 +02:00 committed by GitHub
parent 21eb4eb6dd
commit 648df66b98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -578,10 +578,9 @@ namespace platf {
// Hide it by default // Hide it by default
display_cursor = false; display_cursor = false;
} }
}
sources[source::KMS] = true; sources[source::KMS] = true;
} }
}
#endif #endif
#ifdef SUNSHINE_BUILD_X11 #ifdef SUNSHINE_BUILD_X11
if (config::video.capture.empty() || config::video.capture == "x11") { if (config::video.capture.empty() || config::video.capture == "x11") {