Broadcast DestroyWindowEvent to layouts

Some layout and layout modifiers that keep track of some window
properties don't do garbage collection and update their state when
windows are destroyed. By broadcasting this event, it should be easier
for layouts to clean up

Related: https://github.com/xmonad/xmonad-contrib/pull/474
This commit is contained in:
Yecine Megdiche
2021-03-28 20:29:24 +02:00
committed by Tomas Janousek
parent 101c7052f4
commit 92d01e37a0
3 changed files with 13 additions and 1 deletions

View File

@@ -50,6 +50,9 @@
* Document the help command in the help message.
* `DestroyWindowEvent` is now broadcasted to layouts to let them know
window-specific resources can be discarded.
## 0.15 (September 30, 2018)
* Reimplement `sendMessage` to deal properly with windowset changes made