mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-03-23 18:01:12 +01:00
This commits adds a few more events that can trigger a `DisplayConnectionChange` event. Some of these events are redundant and after a display is disconnected/reconnected it emits multiple `DisplayConnectionChange` events. However, when trying to remove them to have just one it stopped behaving as it should, as if it was missing the update, while having them duplicated it works properly. Therefore it appears to be better to keep them for now, since the duplicated events will exit early as soon as they see that the monitor counts match (on the first event the counts don't match so it adds/removes the monitor and the following events see that the counts match).
73 lines
1.8 KiB
TOML
73 lines
1.8 KiB
TOML
[workspace]
|
|
|
|
resolver = "2"
|
|
members = [
|
|
"komorebi",
|
|
"komorebi-client",
|
|
"komorebi-gui",
|
|
"komorebic",
|
|
"komorebic-no-console",
|
|
"komorebi-bar",
|
|
"komorebi-themes"
|
|
]
|
|
|
|
[workspace.dependencies]
|
|
clap = { version = "4", features = ["derive", "wrap_help"] }
|
|
chrono = "0.4"
|
|
crossbeam-channel = "0.5"
|
|
crossbeam-utils = "0.8"
|
|
color-eyre = "0.6"
|
|
eframe = "0.30"
|
|
egui_extras = "0.30"
|
|
dirs = "6"
|
|
dunce = "1"
|
|
hotwatch = "0.5"
|
|
schemars = "0.8"
|
|
lazy_static = "1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = { package = "serde_json_lenient", version = "0.2" }
|
|
serde_yaml = "0.9"
|
|
tracing = "0.1"
|
|
tracing-appender = "0.2"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
paste = "1"
|
|
sysinfo = "0.33"
|
|
uds_windows = "1"
|
|
win32-display-data = { git = "https://github.com/LGUG2Z/win32-display-data", rev = "3ff53fb6f53ec3ec4f9941a0409fba5e36decc46" }
|
|
windows-implement = { version = "0.58" }
|
|
windows-interface = { version = "0.58" }
|
|
windows-core = { version = "0.58" }
|
|
shadow-rs = "0.38"
|
|
which = "7"
|
|
|
|
[workspace.dependencies.windows]
|
|
version = "0.58"
|
|
features = [
|
|
"implement",
|
|
"Foundation_Numerics",
|
|
"Win32_Devices",
|
|
"Win32_System_Com",
|
|
"Win32_UI_Shell_Common", # for IObjectArray
|
|
"Win32_Foundation",
|
|
"Win32_Globalization",
|
|
"Win32_Graphics_Dwm",
|
|
"Win32_Graphics_Gdi",
|
|
"Win32_Graphics_Direct2D",
|
|
"Win32_Graphics_Direct2D_Common",
|
|
"Win32_Graphics_Dxgi_Common",
|
|
"Win32_System_LibraryLoader",
|
|
"Win32_System_Power",
|
|
"Win32_System_RemoteDesktop",
|
|
"Win32_System_Threading",
|
|
"Win32_UI_Accessibility",
|
|
"Win32_UI_HiDpi",
|
|
"Win32_UI_Input_KeyboardAndMouse",
|
|
"Win32_UI_Shell",
|
|
"Win32_UI_Shell_Common",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
"Win32_System_SystemServices",
|
|
"Win32_System_WindowsProgramming",
|
|
"Media",
|
|
"Media_Control"
|
|
]
|