diff options
author | Tomas Janousek <tomi@nomi.cz> | 2010-03-27 22:42:43 +0100 |
---|---|---|
committer | Tomas Janousek <tomi@nomi.cz> | 2010-03-27 22:42:43 +0100 |
commit | 80b835ac57c7dba6d86ac803baa784814b3c300b (patch) | |
tree | 43d1a661473a68607780290cc92d12dd51d7500f /XMonad/StackSet.hs | |
parent | e5240c8fc41f45b6b71252ffb6de4c3fdacf9892 (diff) | |
download | xmonad-80b835ac57c7dba6d86ac803baa784814b3c300b.tar.gz xmonad-80b835ac57c7dba6d86ac803baa784814b3c300b.tar.xz xmonad-80b835ac57c7dba6d86ac803baa784814b3c300b.zip |
reveal: don't insert non-clients into the set of mapped windows
Ignore-this: 68c0a43d761e626cb9544ca386f4846d
In xmonad-core, this fixes a small bug that caused doIgnored windows to get
into `mapped' and never being removed from there.
In the context of xmonad-contrib, this fixes a tremendous memory leak that
could be triggered by using MouseResizableTile and UrgencyHook at the same
time. MRT would create dummy windows that would get added to `mapped' by the
reveal call in `windows'. As these were not removed (removal from `mapped' is
filtered by `isClient'), they'd stay there forever and due to an inefficiency
in UrgencyHook would eat up all memory sooner or later.
darcs-hash:20100327214243-c9ff5-295429351d7a76e3fe82766bed70cb6951f5862e.gz
Diffstat (limited to 'XMonad/StackSet.hs')
0 files changed, 0 insertions, 0 deletions