aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout/MultiToggle (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-12-20Fix MultiToggle crashes with decorated layoutsTomas Janousek1-5/+6
Ignore-this: 9208f5da9f0de95464ea62cb45e8f291 The problem was that certain layouts keep their "world" state in their value, which was thrown away and forgotten after ReleaseResources during toggle. In particular, decorated layouts store some X11 handles in them and allocate/deallocate it as appropriate. If any modification to their state is ignored, they may try to deallocate already deallocated memory, which results in a crash somewhere inside Xlib. This patch makes Transformers reversible so that nothing is ever ignored. As a side effect, layout transformers now do receive messages and messages for the base layout do not need the undo/reapply cycle -- we just pass messages to the current transformed layout and unapply the transformer when needed. (This, however, doesn't mean that the base layout is not asked to release resources on a transformer change -- we still need the transformer to release its resources and there's no way to do this without asking the base layout as well.) darcs-hash:20091220004733-c9ff5-34670f3db8ab715d8f334973d6ea2a3e7f3aed7a.gz
2009-06-26Replace most -fglasgow-exts with specific LANGUAGE pragmasAdam Vogt1-3/+1
Ignore-this: 2274fdd689b0576a76d9f3373e9c7159 darcs-hash:20090626025457-1499c-1d7bdb15732bb3d45e853e140f66fe38fc4fcafa.gz
2008-04-04MultiToggle/Instances: ghc 6.6 can't parse LANGUAGE pragmaBrent Yorgey1-1/+1
darcs-hash:20080404200157-bd4d7-062acb7e8a338cfec4e66b49cd2baac2c8370067.gz
2008-03-31MultiToggle: add new XMonad.Layout.MultiToggle.Instances module for common ↵Brent Yorgey1-0/+40
instances of Transformer, update MultiToggle docs accordingly darcs-hash:20080331201739-bd4d7-901730282c5a27e589deba161b77c2752f643a0f.gz