aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout/Reflect.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use imported `fi' alias for fromIntegral more often.Adam Vogt2010-04-161-2/+1
| | | | | | | | | Ignore-this: 51040e693066fd7803cc1b108c1a13d5 Also moves `fi' into U.Image to avoid cyclic imports, though XUtils sill exports that definition. darcs-hash:20100416212939-1499c-a12428074d873b1eaea197e1b79c0ca07a96b05f.gz
* Added X.L.DrawerMax Rabkin2010-03-081-1/+2
| | | | | | | | Ignore-this: c7973679b7b2702178ae06fc45396dda X.L.Drawer provides a layout modifier for retracting windows which roll down (like the Quake console) when they gain focus. darcs-hash:20100308212752-a5338-92b3b8a0ec633333427a7b30aa379d7cf39f4864.gz
* Fix MultiToggle crashes with decorated layoutsTomas Janousek2009-12-201-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
* Refer to modm as the current modMaskAdam Vogt2009-10-221-2/+2
| | | | | | | | 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/+1
| | | | | | Ignore-this: 2274fdd689b0576a76d9f3373e9c7159 darcs-hash:20090626025457-1499c-1d7bdb15732bb3d45e853e140f66fe38fc4fcafa.gz
* XMonad.Layout.Reflect: update documentation to reflect (haha) recent updates ↵Brent Yorgey2008-03-251-2/+2
| | | | | | to MultiToggle darcs-hash:20080325185630-bd4d7-d45fb98f81e5a0e653acf4b80e60f9f75bafa12d.gz
* Reflect: reimplemented as a layout modifier (which makes it compatible with ↵Andrea Rossato2008-01-271-15/+11
| | | | | | windowArranger and decoration) darcs-hash:20080127165854-32816-682cd6eac087a6a394389aa3ca7566626c7aaa32.gz
* Reflect.hs: minor haddock fixBrent Yorgey2008-01-161-1/+1
| | | | darcs-hash:20080116203546-bd4d7-be51c0b0302bee0271a71dd1156ea7a12f318888.gz
* Reflect.hs: use -fglasgow-exts for now instead of LANGUAGE pragmas, for ↵Brent Yorgey2008-01-151-1/+5
| | | | | | compatibility with ghc 6.6 darcs-hash:20080115194811-bd4d7-217e9c6fe19c7faf1f6e4061c9f7b7ee91d81515.gz
* Reflect.hs: add MultiToggle supportBrent Yorgey2008-01-151-6/+40
| | | | darcs-hash:20080115193519-bd4d7-34839d77bcebde1ee6b5ed9b88263231e2291c00.gz
* Layout.Reflect: new contrib module for reflecting layouts ↵Brent Yorgey2008-01-151-0/+81
horizontally/vertically darcs-hash:20080115030947-bd4d7-8983649731d40b9c737d6fe69151b2715425b121.gz