mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-12-01 17:41:12 +00:00
Implement support for KMS cursor plane capture (#1981)
This commit is contained in:
1 parent
791ed48a3f
commit
f88df0f596
6 files changed
+329
-55
No files matched your search
@@ -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