aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout/MultiToggle.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-12-20Fix MultiToggle crashes with decorated layoutsTomas Janousek1-61/+32
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-10-22Refer to modm as the current modMaskAdam Vogt1-1/+1
Ignore-this: d097c7dc1746c55e1d4078a7148f9d5a This makes the config suggestions consistent with the current template. darcs-hash:20091022041126-1499c-5dd63076fdd71a61276cfc8e648bada81d9cc586.gz
2009-06-26Replace most -fglasgow-exts with specific LANGUAGE pragmasAdam Vogt1-5/+2
Ignore-this: 2274fdd689b0576a76d9f3373e9c7159 darcs-hash:20090626025457-1499c-1d7bdb15732bb3d45e853e140f66fe38fc4fcafa.gz
2008-03-31MultiToggle: add new XMonad.Layout.MultiToggle.Instances module for common ↵Brent Yorgey1-25/+26
instances of Transformer, update MultiToggle docs accordingly darcs-hash:20080331201739-bd4d7-901730282c5a27e589deba161b77c2752f643a0f.gz
2008-03-28XMonad.Layout.MultiToggle: let runLayout modify the base layout if no ↵Lukas Mai1-1/+5
transformer is active darcs-hash:20080328190903-462cf-1beba98a60b585ea2ef7a74dbcc1e83d75f67c89.gz
2008-03-11MultiToggle: fix to work with runLayout changes to coreBrent Yorgey1-5/+3
darcs-hash:20080311172046-bd4d7-fb017517eea1d89a4257954e4515af1a63f53a63.gz
2008-01-28add emptyLayout to MultiToggleLukas Mai1-0/+2
darcs-hash:20080128175313-462cf-69da1283ec40c1d853b0eff783a2d6216ed114ab.gz
2008-01-18add 'single' helper functionLukas Mai1-2/+7
darcs-hash:20080117234550-462cf-6f662a03c8ff21db0951ac2d61b59f1ff89c8ebf.gz
2008-01-18documentation fixLukas Mai1-1/+1
darcs-hash:20080117234401-462cf-65bb9a13177d58c9d8270e09f1ba2bf06a2ae410.gz
2008-01-18style assimilationLukas Mai1-1/+1
darcs-hash:20080117234059-462cf-ccbba0b797ee81ac59aa27882ee4bf04af213f15.gz
2008-01-15MultiToggle.hs: improve 'description' implementation in LayoutClass instance ↵Brent Yorgey1-2/+2
to display the current transformed layout rather than just 'MultiToggle' darcs-hash:20080115193311-bd4d7-a67d3b834513ad0f23b228708dcb765b2c6a4514.gz
2007-12-08More import pruningSpencer Janssen1-2/+2
darcs-hash:20071208014846-a5988-6c53b449256d73dc5ab3e1bac2f9f0a93227b078.gz
2007-11-19Miscellaneous spell-checkingShachaf Ben-Kiki1-1/+1
darcs-hash:20071118230319-bffde-6c56202afece4ecc55d48d37bde3f80edaff66f7.gz
2007-11-06change MultiToggle interface; add docsLukas Mai1-21/+102
darcs-hash:20071106141729-462cf-f1b0e95f8b30109cf2cbf40b54a8aaec5691e6ff.gz
2007-11-06add serializable SwitchTrans (a.k.a. MultiToggle)Lukas Mai1-0/+149
darcs-hash:20071106005819-462cf-50760b735eaf204c05bd1ddf706e4265cabf3442.gz