aboutsummaryrefslogtreecommitdiffstats
path: root/Combo.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* clean up code in Combo.David Roundy2007-06-241-15/+25
| | | | | | | | This adds some type safety, since the super-layout is now of a distinct type from the sublayouts. This avoids the ugliness we had, of passing "fake" windows to the super layout. Now we directly lay out the layouts. darcs-hash:20070624171346-72aca-e25332cad748281a8656487977d4f4351fcffc64.gz
* make everything work with new doLayout.David Roundy2007-06-231-13/+17
| | | | | | | | | This modifies all the contrib modules to work (so far as I know) with the new contrib layout. The exception is the LayoutHooks module, which isn't used. It exports an API that is inherently unsafe, so far as I can tell (and always has been). darcs-hash:20070623210952-72aca-1993ca13dc6996b59fedacc271c03fbaf87eabaa.gz
* add SimpleStacking module to make Combo and Tabbed work together.David Roundy2007-06-211-1/+2
| | | | | | | | | | | WARNING! This change will break existing Tabbed configurations. The problem is that there is no way within a Layout's "doLayout" to safely modify the layout itself. This makes LayoutHooks fragile, and more to the point, makes SimpleStacking fragile, so we can't safely define a tabbed' darcs-hash:20070621151524-72aca-2466fff5a37ce1388879367c419cf52161f8f838.gz
* Combo.hs: use case instead of non-standard pattern matching.joachim.fasting2007-06-201-7/+4
| | | | | | | | | Also uses fmap/maybe instead of do/case, which makes the code look a little cleaner (imo). Please note that I've only been able to test this briefly, but it seems to be working like it's supposed to. darcs-hash:20070620112805-ea16c-d246e45889110c7f28da80adbcfc968139f77130.gz
* Combo.hs: tweak usage instructions.joachim.fasting2007-06-201-1/+1
| | | | | | tabbed needs an additional argument. darcs-hash:20070620112555-ea16c-8882fd63b341e8a86604788445bd7cc6eb5cbb63.gz
* Fix type signatures.joachim.fasting2007-06-201-2/+2
| | | | | | Think this fixes the rest of the errors caused by the Layout change. darcs-hash:20070619220323-ea16c-3274cd24d01bc932089ab88191ccda316ea93b01.gz
* fix leak in Combo.David Roundy2007-06-161-0/+9
| | | | | | | We leaked decorations, since UnDoLayout wasn't passed to the actual layouts that had decorations attached. :( darcs-hash:20070616191052-72aca-9a2e2315e11257f5e5e35cd3944e2a4092919c74.gz
* Combo.hs: info and documentationAndrea Rossato2007-06-141-4/+29
| | | | darcs-hash:20070614143700-32816-1f77a0f873d4683088dcadc2a4910ef1c740015f.gz
* changes to work with Stacks that can't be empty.David Roundy2007-06-121-4/+4
| | | | darcs-hash:20070612151209-72aca-62307f8565fc32ca80be8daf2c30fe414d49111e.gz
* make combo sort of work with new doLayout.David Roundy2007-06-121-3/+5
| | | | | | | | | | | For some reason (not entirely clear to me) this doesn't work properly just yet with the tabbed layout. :( But at least it'll compile. The trouble is that we have no way of tracking which tab ought to be visible without adding a *lot* of infrastructure. I'd rather have that infrastructure in xmonad proper than reimplement all the focus-handling in combo, so for now I'll just delay upgrading my xmonad at work... darcs-hash:20070612133027-72aca-666344cb28934cd2b226240fec42d1c1b3a5a12c.gz
* add new combo layout combiner.David Roundy2007-06-121-0/+26
darcs-hash:20070611224922-72aca-0881579ddddc2e12c9f9cb4cba9031a725a70913.gz