mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-21 16:21:29 +02:00
This commit is the result of a long investigation with @berknam on Discord which uncovered that when the channels used by the *_manager modules are full, the window manager can enter a completely locked state which will require a hard restart of komorebi.exe. In order to avoid entering this locked state, *_manager modules now no longer publicly expose event_tx for sending notifications. Instead, a new public fn send_notification is exposed which will use try_send to attempt to send notifications in a non-blocking manner and log warnings if the channel is full and the notification is dropped.
137 KiB
137 KiB