Implement support for KMS cursor plane capture (#1981)

This commit is contained in:
Cameron Gutman
2024-01-05 23:02:39 -06:00
committed by GitHub
parent 791ed48a3f
commit f88df0f596
6 changed files with 329 additions and 55 deletions

View File

@@ -758,11 +758,6 @@ namespace platf {
#ifdef SUNSHINE_BUILD_DRM
if (config::video.capture.empty() || config::video.capture == "kms") {
if (verify_kms()) {
if (window_system == window_system_e::WAYLAND) {
// On Wayland, using KMS, the cursor is unreliable.
// Hide it by default
display_cursor = false;
}
sources[source::KMS] = true;
}
}