fix: Wayland resolution

1. Add filed `scale` in `message SwitchDisplay`(`message.proto`).
2. Add new function to get all display info.
3. Add help link of KDE Plasma Wayland.

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou
2025-11-04 10:45:32 +08:00
parent 9b53baeffe
commit 4fe91763b7
4 changed files with 101 additions and 0 deletions

View File

@@ -81,3 +81,8 @@ winapi = { version = "0.3", features = [
[target.'cfg(target_os = "macos")'.dependencies]
osascript = "0.3"
[target.'cfg(target_os = "linux")'.dependencies]
sctk = { package = "smithay-client-toolkit", version = "0.20.0", default-features = false, features = [
"calloop",
] }