mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-06-29 18:05:02 +03:00
refact: privacy mdoe 1, multi-monitors (#15318)
* refact: privacy mdoe 1, multi-monitors Signed-off-by: fufesou <linlong1266@gmail.com> * fix: harden privacy mode overlay & capture cleanup Signed-off-by: fufesou <linlong1266@gmail.com> --------- Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -272,6 +272,10 @@ fn create_capturer(
|
||||
if privacy_mode_id > 0 {
|
||||
#[cfg(windows)]
|
||||
{
|
||||
// Windows Mode 1 can cover every local monitor with overlay windows,
|
||||
// but the legacy magnifier capture backend is still single-monitor
|
||||
// constrained. Keep display-switch gating aligned with that backend
|
||||
// limit, not just the overlay coverage.
|
||||
if let Some(c1) = crate::privacy_mode::win_mag::create_capturer(
|
||||
privacy_mode_id,
|
||||
display.origin(),
|
||||
|
||||
Reference in New Issue
Block a user