Do not enable privacy mode if current display is not the primary one

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-03-06 16:41:26 +08:00
parent 507472e87e
commit 8032659841
34 changed files with 45 additions and 2 deletions

View File

@@ -301,6 +301,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("Succeeded", ""),
("Someone turns on privacy mode, exit", ""),
("Unsupported", ""),
("Please switch to Display 1 first", "")
("Peer denied", ""),
("Please install plugins", ""),
("Peer exit", ""),