aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Respect ExitExceptions, fixes a regression where exitWith had no effectSpencer Janssen2007-10-121-4/+6
| | | | darcs-hash:20071012152801-a5988-80a14dda451e1e6e7cdc9e42fdc11568c21004b2.gz
* Make runX return XStateSpencer Janssen2007-10-121-2/+2
| | | | darcs-hash:20071012151524-a5988-8ef9d310d3e0576b5880c1e8b3d3fc38ec3b8f64.gz
* fix potential hole in userCode.David Roundy2007-10-121-1/+1
| | | | | | | This makes userCode catch errors even when the user does something like (return undefined). darcs-hash:20071012150253-72aca-72e3ecd20cdc827ee342dc4ebceecf33142d9dd5.gz
* Add userCode function for the popular m `catchX` return ()Spencer Janssen2007-10-121-1/+6
| | | | darcs-hash:20071012014217-a5988-06b6f1519b5f87fcbc8220ad5bd69181c721635a.gz
* use the right catch in catchX.David Roundy2007-10-121-0/+2
| | | | | | | | Don't ask *me* why the prelude includes a version of catch that is worse than useless (because it lulls you into a feeling of safety). darcs-hash:20071012011450-72aca-cb4b72d604150423d7d261d462d5a5a948243d24.gz
* add comments in XMonad.David Roundy2007-10-111-17/+24
| | | | | | | This change also removes readLayout as a top level function, since it's only used once. darcs-hash:20071011152942-72aca-d3a5184f58ed7373da7ec54e10ce6eb87005d9d4.gz
* Add LANGUAGE pragmasShachaf Ben-Kiki2007-10-081-1/+1
| | | | | | | | It seems that GHC 6.6 just enables -fglasgow-exts when it sees any LANGUAGE pragma, so not all of them were added; this patch adds the rest of them, which is necessary for xmonad to compile in GHC > darcs-hash:20071008021107-bffde-c482752d9acbb88df3e00e46270a52a5505f4bc7.gz
* a bunch of things in XMonad.hs are missing top level comments!Don Stewart2007-10-061-7/+17
| | | | darcs-hash:20071006153608-cba2c-8b4432d2d497b2b53e9c41dd3492c0a5df098139.gz
* style on layout class codeDon Stewart2007-10-061-19/+25
| | | | darcs-hash:20071006104606-cba2c-68be80733c60bc15f06e876e7626229696c129f1.gz
* add pureMessage.David Roundy2007-10-051-1/+3
| | | | darcs-hash:20071005140553-72aca-aa462a597c08ff1f9309985a0f3403d5023bc975.gz
* Make WindowSet serialization robust to layout changesSpencer Janssen2007-10-051-1/+2
| | | | darcs-hash:20071005000031-a5988-c8ab82b01a70dc7526fa64c71edc7673dbfab4db.gz
* Remove commented codeSpencer Janssen2007-10-041-7/+0
| | | | darcs-hash:20071004200200-a5988-43e27252ed8a109311d5a82ec1ed9b31c345fb6e.gz
* some renaming of classes and data types.David Roundy2007-09-291-20/+20
| | | | darcs-hash:20070929191320-72aca-63c25731f6efb2de0d786c7ebe2fed2fa288e03a.gz
* Use LANGUAGE pragmas over -fglasgow-extsSpencer Janssen2007-09-281-1/+2
| | | | darcs-hash:20070928181438-a5988-27614325d7707fe5574f47113faa372fdec98791.gz
* SomeLayout: use the description of the wrapped layoutSpencer Janssen2007-09-281-0/+1
| | | | darcs-hash:20070928052344-a5988-b6653a59a3dee58f947d0fc4064627f3808d2d79.gz
* Simplify readLayout, comment on surprising behaviorSpencer Janssen2007-09-251-3/+3
| | | | darcs-hash:20070925211708-a5988-f814e1824247a7eb8b806811ea8cb7c73662e53f.gz
* fix bug in reading of SomeLayouts.David Roundy2007-09-251-1/+3
| | | | darcs-hash:20070925202801-72aca-476deef33546c9e50ab8b214df29e3330b1839f9.gz
* rename modifyLayout to handleMessage.David Roundy2007-09-251-7/+7
| | | | darcs-hash:20070925182906-72aca-602a1ffe78862e748e174637dd8182d57c6dcb28.gz
* make it easier to define pure layouts.David Roundy2007-09-251-0/+4
| | | | darcs-hash:20070925170503-72aca-22b50fd803b02bb36ca12befdeeb182439395bc8.gz
* Make a String description part of each Layout.David Roundy2007-09-241-0/+2
| | | | darcs-hash:20070924185753-72aca-95002aa27cfef74bf8caf1e6f243a4626f20659c.gz
* create default modifyLayout that ignores messages.David Roundy2007-09-231-0/+1
| | | | darcs-hash:20070923115219-72aca-d4400312d8edb267350518f4cce6acd99abc3e1d.gz
* add layout selection back into core xmonad using LayoutSelection.David Roundy2007-09-211-1/+9
| | | | | | This is just a reimplementation of LayoutChoice. darcs-hash:20070921212159-72aca-870bb8d3e596fcb9edc48f51bec538054b4165e6.gz
* make layouts preserved over restartDavid Roundy2007-09-211-6/+1
| | | | darcs-hash:20070921204316-72aca-6f8cabc516cc87345bfa73be0e060b206aa2a207.gz
* move Layout into StackSet.David Roundy2007-09-211-3/+2
| | | | | | | | WARNING! This changes the format of StackSet, and will definitely mess up your xmonad state, requiring at minimum a restart! darcs-hash:20070920221248-72aca-1653e21d12abc691a6447c8552369f2d55df41b1.gz
* add (unused) Layout to StackSet.David Roundy2007-09-201-1/+1
| | | | darcs-hash:20070920212843-72aca-4c73a99b58ebd9d1d179c5e627cbf4823493f4ab.gz
* Pointfree Mirror and SomeLayout instancesSpencer Janssen2007-09-201-4/+2
| | | | darcs-hash:20070920211042-a5988-0fcfdaa8b1ecfffe0f1ec5e5584d53d7e31416d7.gz
* define readLayout to create a SomeLayout based on a set of possible layout ↵David Roundy2007-09-201-1/+7
| | | | | | types. darcs-hash:20070920181506-72aca-3c50146a45158f168b89c989897c616fc453f816.gz
* add Read instance to Layout.David Roundy2007-09-201-1/+3
| | | | darcs-hash:20070920174529-72aca-b1cf11419d5cccbf67edbc3a7bbb356502e9186d.gz
* add Show instance to LayoutDavid Roundy2007-09-201-1/+3
| | | | darcs-hash:20070920161208-72aca-c7bbb3a9d7cd8f1445c89f1bf15d7302bd47896c.gz
* eliminate ugly OldLayout.David Roundy2007-09-201-9/+1
| | | | darcs-hash:20070920155237-72aca-af9e13a03fd7fb1e4c5b452c5d42817bd5060b0f.gz
* move Layout stuff into class (hokey first cut).David Roundy2007-09-141-5/+22
| | | | darcs-hash:20070914215959-72aca-3feae03a6560a70908ad37d28f47c8d47321008e.gz
* use hPrint instead of hPutStrLnDon Stewart2007-09-271-1/+1
| | | | darcs-hash:20070927213901-cba2c-4a704f8d8905bc119a58b6bc04bb465fedf8950a.gz
* export getAtom from XMonad.Ivan Tarasov2007-08-251-1/+1
| | | | darcs-hash:20070825174156-19dd5-f523ef780b9cc227014958966c0f96a444542c86.gz
* switch WorkspaceId to String.David Roundy2007-08-201-2/+2
| | | | darcs-hash:20070820113658-72aca-f27e89526a320a9426a359cd88a4a74567283417.gz
* Comment onlySpencer Janssen2007-08-161-1/+1
| | | | darcs-hash:20070815224031-a5988-f5f33b60465a7b34383705b26123f1444a9f0b6a.gz
* move event loop out of mouseDrag.David Roundy2007-08-071-1/+2
| | | | darcs-hash:20070807201616-72aca-80f5d15118592f79aca8a2e928c4ad4f29fdf8b1.gz
* Move screen details into StackSetSpencer Janssen2007-06-291-4/+8
| | | | darcs-hash:20070629213917-a5988-3ad31d8f028efcec41c9c4805c01c2d42c0009b2.gz
* support self-modifying layouts.David Roundy2007-06-231-3/+3
| | | | darcs-hash:20070623201447-72aca-7bfeb7e7ec36b37420a4c670dc23156c52d7e22d.gz
* minor tweaks, ideas from joachim.fasting@Don Stewart2007-06-211-1/+1
| | | | darcs-hash:20070621033613-9c5c1-51e25d524c5a54aafbab14f55b3b155c558195d2.gz
* Update Layout documentationSpencer Janssen2007-06-201-2/+9
| | | | darcs-hash:20070620150858-a5988-761f067579d6df331fd868db2bc010590a0a7939.gz
* make Layouts able to layout whatever they like.David Roundy2007-06-191-4/+4
| | | | darcs-hash:20070619150816-72aca-a651e758e93e300c3e526985b328f0b1d7def60c.gz
* move initColor to Operations and only store the Pixel value of colorsJason Creighton2007-06-141-2/+2
| | | | | | | | | Moving initColor to Operations allows it to be used by extensions. The Pixel component of the color is the only thing we need, so it's simpler just to deal with that. darcs-hash:20070613234501-b9aa7-5b39416db9f9d5ac42692262c233179baeb2540f.gz
* haddick fine tuningAndrea Rossato2007-06-131-10/+10
| | | | darcs-hash:20070613185902-32816-b7cd7a5c14e111abfe52918612bd6a9ee6a0c90b.gz
* IndentationSpencer Janssen2007-06-131-7/+7
| | | | darcs-hash:20070613043018-a5988-fac19281fc680eb1dd346d42b7d03f6c7928c18c.gz
* add catchX to catch exceptions.David Roundy2007-06-121-1/+12
| | | | darcs-hash:20070612154253-72aca-b2c7e24b5e70a09feaebccd443aebbe37b568efa.gz
* make focus, up and down complete functions.David Roundy2007-06-121-1/+4
| | | | | | | This is a rerun of my change to make (Stack a) never be empty. Gives us more type-safety. darcs-hash:20070612150555-72aca-5f6e43aa33979c71679a73b44d93f9e2b8f9d2a8.gz
* API CHANGE: Give doLayout a Stack rather than a flattened listSpencer Janssen2007-06-111-1/+1
| | | | darcs-hash:20070611182629-a5988-384e2f82340497c833a68d909ea485017803fe9b.gz
* Use catchIO in 'restart'Spencer Janssen2007-06-111-2/+1
| | | | darcs-hash:20070611161152-a5988-1311671abda1c7edfa223255dff0128860b30d38.gz
* Rename safeIO to catchIOSpencer Janssen2007-06-111-3/+5
| | | | darcs-hash:20070611160608-a5988-a042d190c15b993b15da274db915ca73d9c8e089.gz
* add safeIO which catches and logs exceptions.David Roundy2007-06-111-1/+4
| | | | darcs-hash:20070611153650-72aca-c802f2ac167c0e9232d17a2897163aca5a5479f0.gz