aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout/MultiToggle.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary contexts from L.MultiToggleAdam Vogt2013-02-171-2/+2
| | | | | | Ignore-this: 6b0e413d8c3a58f62088c32a96c57c51 darcs-hash:20130217163356-1499c-49328ff9588901c49e7b84a80ef079d2b7514268.gz
* Export types to reduce haddock warnings.Adam Vogt2010-10-231-1/+5
| | | | | | Ignore-this: 1cac9202784711ce0fc902d14543bab0 darcs-hash:20101023195755-1499c-57c41357d20cbf0d57522ce99bdbfff7b686ed52.gz
* Fix MultiToggle crashes with decorated layoutsTomas Janousek2009-12-201-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
* Refer to modm as the current modMaskAdam Vogt2009-10-221-1/+1
| | | | | | | | Ignore-this: d097c7dc1746c55e1d4078a7148f9d5a This makes the config suggestions consistent with the current template. darcs-hash:20091022041126-1499c-5dd63076fdd71a61276cfc8e648bada81d9cc586.gz
* Replace most -fglasgow-exts with specific LANGUAGE pragmasAdam Vogt2009-06-261-5/+2
| | | | | | Ignore-this: 2274fdd689b0576a76d9f3373e9c7159 darcs-hash:20090626025457-1499c-1d7bdb15732bb3d45e853e140f66fe38fc4fcafa.gz
* MultiToggle: add new XMonad.Layout.MultiToggle.Instances module for common ↵Brent Yorgey2008-03-311-25/+26
| | | | | | instances of Transformer, update MultiToggle docs accordingly darcs-hash:20080331201739-bd4d7-901730282c5a27e589deba161b77c2752f643a0f.gz
* XMonad.Layout.MultiToggle: let runLayout modify the base layout if no ↵Lukas Mai2008-03-281-1/+5
| | | | | | transformer is active darcs-hash:20080328190903-462cf-1beba98a60b585ea2ef7a74dbcc1e83d75f67c89.gz
* MultiToggle: fix to work with runLayout changes to coreBrent Yorgey2008-03-111-5/+3
| | | | darcs-hash:20080311172046-bd4d7-fb017517eea1d89a4257954e4515af1a63f53a63.gz
* add emptyLayout to MultiToggleLukas Mai2008-01-281-0/+2
| | | | darcs-hash:20080128175313-462cf-69da1283ec40c1d853b0eff783a2d6216ed114ab.gz
* add 'single' helper functionLukas Mai2008-01-181-2/+7
| | | | darcs-hash:20080117234550-462cf-6f662a03c8ff21db0951ac2d61b59f1ff89c8ebf.gz
* documentation fixLukas Mai2008-01-181-1/+1
| | | | darcs-hash:20080117234401-462cf-65bb9a13177d58c9d8270e09f1ba2bf06a2ae410.gz
* style assimilationLukas Mai2008-01-181-1/+1
| | | | darcs-hash:20080117234059-462cf-ccbba0b797ee81ac59aa27882ee4bf04af213f15.gz
* MultiToggle.hs: improve 'description' implementation in LayoutClass instance ↵Brent Yorgey2008-01-151-2/+2
| | | | | | to display the current transformed layout rather than just 'MultiToggle' darcs-hash:20080115193311-bd4d7-a67d3b834513ad0f23b228708dcb765b2c6a4514.gz
* More import pruningSpencer Janssen2007-12-081-2/+2
| | | | darcs-hash:20071208014846-a5988-6c53b449256d73dc5ab3e1bac2f9f0a93227b078.gz
* Miscellaneous spell-checkingShachaf Ben-Kiki2007-11-191-1/+1
| | | | darcs-hash:20071118230319-bffde-6c56202afece4ecc55d48d37bde3f80edaff66f7.gz
* change MultiToggle interface; add docsLukas Mai2007-11-061-21/+102
| | | | darcs-hash:20071106141729-462cf-f1b0e95f8b30109cf2cbf40b54a8aaec5691e6ff.gz
* add serializable SwitchTrans (a.k.a. MultiToggle)Lukas Mai2007-11-061-0/+149
darcs-hash:20071106005819-462cf-50760b735eaf204c05bd1ddf706e4265cabf3442.gz