mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-08-10 00:52:16 +00:00
Implement support for KMS cursor plane capture (#1981)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user