mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-09-17 07:11:22 +02:00
feat(wm): run orphan reaper in a dedicated thread
Until now the orphan window/container reaper has always run on every WinEvent. Unfortunately Windows Terminal does not sent a WinEvent when it is closed. This is a problem for the new border_manager module which draws and destroys borders based on notifications sent to it after WinEvents and SocketMessages have been processed. Since Windows Terminal is not sending a WinEvent on close, this means that user interaction is required to remove the ghost border that gets left behind. This commit starts a separate thread for the reaper where it runs once every second in a loop. This is quite wasteful and definitely not something I wanted to implement, but a temporary solution is needed given the popularity of the buggy application in question. An issue on the Windows Terminal tracker has been opened here: https://github.com/microsoft/terminal/issues/17298
This commit is contained in:
@@ -9,6 +9,7 @@ pub mod monitor_reconciliator;
|
||||
pub mod process_command;
|
||||
pub mod process_event;
|
||||
pub mod process_movement;
|
||||
pub mod reaper;
|
||||
pub mod set_window_position;
|
||||
pub mod stackbar_manager;
|
||||
pub mod static_config;
|
||||
|
||||
Reference in New Issue
Block a user