Implement support for KMS cursor plane capture (#1981)

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

No files matched your search

-5
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;
}
}