aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout/Reflect.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-12-20Fix MultiToggle crashes with decorated layoutsTomas Janousek1-2/+2
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-2/+2
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/+1
Ignore-this: 2274fdd689b0576a76d9f3373e9c7159 darcs-hash:20090626025457-1499c-1d7bdb15732bb3d45e853e140f66fe38fc4fcafa.gz
2008-03-25XMonad.Layout.Reflect: update documentation to reflect (haha) recent updates ↵Brent Yorgey1-2/+2
to MultiToggle darcs-hash:20080325185630-bd4d7-d45fb98f81e5a0e653acf4b80e60f9f75bafa12d.gz
2008-01-27Reflect: reimplemented as a layout modifier (which makes it compatible with ↵Andrea Rossato1-15/+11
windowArranger and decoration) darcs-hash:20080127165854-32816-682cd6eac087a6a394389aa3ca7566626c7aaa32.gz
2008-01-16Reflect.hs: minor haddock fixBrent Yorgey1-1/+1
darcs-hash:20080116203546-bd4d7-be51c0b0302bee0271a71dd1156ea7a12f318888.gz
2008-01-15Reflect.hs: use -fglasgow-exts for now instead of LANGUAGE pragmas, for ↵Brent Yorgey1-1/+5
compatibility with ghc 6.6 darcs-hash:20080115194811-bd4d7-217e9c6fe19c7faf1f6e4061c9f7b7ee91d81515.gz
2008-01-15Reflect.hs: add MultiToggle supportBrent Yorgey1-6/+40
darcs-hash:20080115193519-bd4d7-34839d77bcebde1ee6b5ed9b88263231e2291c00.gz
2008-01-15Layout.Reflect: new contrib module for reflecting layouts ↵Brent Yorgey1-0/+81
horizontally/vertically darcs-hash:20080115030947-bd4d7-8983649731d40b9c737d6fe69151b2715425b121.gz