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 committed 2025-11-12 23:16:04 +08:00
1 parent 9b53baeffe
commit 4fe91763b7
4 files changed
+101

No files matched your search

+5
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",
] }