Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(wm): restart bm and wsr notif handlers on fail
This commit ensures that if and when either the border_manager or workspace_reconciliator notification handlers crash in their respective threads, they will be restarted instead of killing the whole thread. This is acheived via a loop running in the spawned threads of both listeners, which will report whichever error killed the notification handler functions. Clippy annotations to deny expect and unwrap calls have been added to these two modules. Calls to DestroyWindow for expired borders were sporadically failing in unpredictable circumstances, so these have been switched out with calls to CloseWindow which has been working well so far with the stackbar feature.
- Loading branch information