mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-11 15:42:43 +02:00
feat(wm): register more monitor reconcilator events
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).
This commit is contained in:
@@ -45,6 +45,7 @@ version = "0.58"
|
||||
features = [
|
||||
"implement",
|
||||
"Foundation_Numerics",
|
||||
"Win32_Devices",
|
||||
"Win32_System_Com",
|
||||
"Win32_UI_Shell_Common", # for IObjectArray
|
||||
"Win32_Foundation",
|
||||
@@ -55,6 +56,7 @@ features = [
|
||||
"Win32_Graphics_Direct2D_Common",
|
||||
"Win32_Graphics_Dxgi_Common",
|
||||
"Win32_System_LibraryLoader",
|
||||
"Win32_System_Power",
|
||||
"Win32_System_RemoteDesktop",
|
||||
"Win32_System_Threading",
|
||||
"Win32_UI_Accessibility",
|
||||
|
||||
Reference in New Issue
Block a user