aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-09-25Simplify readLayout, comment on surprising behaviorSpencer Janssen1-3/+3
darcs-hash:20070925211708-a5988-f814e1824247a7eb8b806811ea8cb7c73662e53f.gz
2007-09-25fix bug in reading of SomeLayouts.David Roundy1-1/+3
darcs-hash:20070925202801-72aca-476deef33546c9e50ab8b214df29e3330b1839f9.gz
2007-09-25rename modifyLayout to handleMessage.David Roundy1-7/+7
darcs-hash:20070925182906-72aca-602a1ffe78862e748e174637dd8182d57c6dcb28.gz
2007-09-25make it easier to define pure layouts.David Roundy1-0/+4
darcs-hash:20070925170503-72aca-22b50fd803b02bb36ca12befdeeb182439395bc8.gz
2007-09-24Make a String description part of each Layout.David Roundy1-0/+2
darcs-hash:20070924185753-72aca-95002aa27cfef74bf8caf1e6f243a4626f20659c.gz
2007-09-23create default modifyLayout that ignores messages.David Roundy1-0/+1
darcs-hash:20070923115219-72aca-d4400312d8edb267350518f4cce6acd99abc3e1d.gz
2007-09-21add layout selection back into core xmonad using LayoutSelection.David Roundy1-1/+9
This is just a reimplementation of LayoutChoice. darcs-hash:20070921212159-72aca-870bb8d3e596fcb9edc48f51bec538054b4165e6.gz
2007-09-21make layouts preserved over restartDavid Roundy1-6/+1
darcs-hash:20070921204316-72aca-6f8cabc516cc87345bfa73be0e060b206aa2a207.gz
2007-09-21move Layout into StackSet.David Roundy1-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
2007-09-20add (unused) Layout to StackSet.David Roundy1-1/+1
darcs-hash:20070920212843-72aca-4c73a99b58ebd9d1d179c5e627cbf4823493f4ab.gz
2007-09-20Pointfree Mirror and SomeLayout instancesSpencer Janssen1-4/+2
darcs-hash:20070920211042-a5988-0fcfdaa8b1ecfffe0f1ec5e5584d53d7e31416d7.gz
2007-09-20define readLayout to create a SomeLayout based on a set of possible layout ↵David Roundy1-1/+7
types. darcs-hash:20070920181506-72aca-3c50146a45158f168b89c989897c616fc453f816.gz
2007-09-20add Read instance to Layout.David Roundy1-1/+3
darcs-hash:20070920174529-72aca-b1cf11419d5cccbf67edbc3a7bbb356502e9186d.gz
2007-09-20add Show instance to LayoutDavid Roundy1-1/+3
darcs-hash:20070920161208-72aca-c7bbb3a9d7cd8f1445c89f1bf15d7302bd47896c.gz
2007-09-20eliminate ugly OldLayout.David Roundy1-9/+1
darcs-hash:20070920155237-72aca-af9e13a03fd7fb1e4c5b452c5d42817bd5060b0f.gz
2007-09-14move Layout stuff into class (hokey first cut).David Roundy1-5/+22
darcs-hash:20070914215959-72aca-3feae03a6560a70908ad37d28f47c8d47321008e.gz
2007-09-27use hPrint instead of hPutStrLnDon Stewart1-1/+1
darcs-hash:20070927213901-cba2c-4a704f8d8905bc119a58b6bc04bb465fedf8950a.gz
2007-08-25export getAtom from XMonad.Ivan Tarasov1-1/+1
darcs-hash:20070825174156-19dd5-f523ef780b9cc227014958966c0f96a444542c86.gz
2007-08-20switch WorkspaceId to String.David Roundy1-2/+2
darcs-hash:20070820113658-72aca-f27e89526a320a9426a359cd88a4a74567283417.gz
2007-08-16Comment onlySpencer Janssen1-1/+1
darcs-hash:20070815224031-a5988-f5f33b60465a7b34383705b26123f1444a9f0b6a.gz
2007-08-07move event loop out of mouseDrag.David Roundy1-1/+2
darcs-hash:20070807201616-72aca-80f5d15118592f79aca8a2e928c4ad4f29fdf8b1.gz
2007-06-29Move screen details into StackSetSpencer Janssen1-4/+8
darcs-hash:20070629213917-a5988-3ad31d8f028efcec41c9c4805c01c2d42c0009b2.gz
2007-06-23support self-modifying layouts.David Roundy1-3/+3
darcs-hash:20070623201447-72aca-7bfeb7e7ec36b37420a4c670dc23156c52d7e22d.gz
2007-06-21minor tweaks, ideas from joachim.fasting@Don Stewart1-1/+1
darcs-hash:20070621033613-9c5c1-51e25d524c5a54aafbab14f55b3b155c558195d2.gz
2007-06-20Update Layout documentationSpencer Janssen1-2/+9
darcs-hash:20070620150858-a5988-761f067579d6df331fd868db2bc010590a0a7939.gz
2007-06-19make Layouts able to layout whatever they like.David Roundy1-4/+4
darcs-hash:20070619150816-72aca-a651e758e93e300c3e526985b328f0b1d7def60c.gz
2007-06-14move initColor to Operations and only store the Pixel value of colorsJason Creighton1-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
2007-06-13haddick fine tuningAndrea Rossato1-10/+10
darcs-hash:20070613185902-32816-b7cd7a5c14e111abfe52918612bd6a9ee6a0c90b.gz
2007-06-13IndentationSpencer Janssen1-7/+7
darcs-hash:20070613043018-a5988-fac19281fc680eb1dd346d42b7d03f6c7928c18c.gz
2007-06-12add catchX to catch exceptions.David Roundy1-1/+12
darcs-hash:20070612154253-72aca-b2c7e24b5e70a09feaebccd443aebbe37b568efa.gz
2007-06-12make focus, up and down complete functions.David Roundy1-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
2007-06-11API CHANGE: Give doLayout a Stack rather than a flattened listSpencer Janssen1-1/+1
darcs-hash:20070611182629-a5988-384e2f82340497c833a68d909ea485017803fe9b.gz
2007-06-11Use catchIO in 'restart'Spencer Janssen1-2/+1
darcs-hash:20070611161152-a5988-1311671abda1c7edfa223255dff0128860b30d38.gz
2007-06-11Rename safeIO to catchIOSpencer Janssen1-3/+5
darcs-hash:20070611160608-a5988-a042d190c15b993b15da274db915ca73d9c8e089.gz
2007-06-11add safeIO which catches and logs exceptions.David Roundy1-1/+4
darcs-hash:20070611153650-72aca-c802f2ac167c0e9232d17a2897163aca5a5479f0.gz
2007-06-10implement Spencer's decoration suggestion.David Roundy1-1/+1
darcs-hash:20070610012237-72aca-4c5873773e58103f57f7a0b232da58c269248fa7.gz
2007-06-10haddock compatibilityAndrea Rossato1-2/+1
darcs-hash:20070610123746-32816-e5a1b61d81fa52f608d7936f900431bd6620c3c7.gz
2007-06-10Move state logging into Config.hs, via logHook :: X ()Don Stewart1-49/+3
darcs-hash:20070610061932-9c5c1-9a08992ef555f086007474e64d5ae9d835e9677e.gz
2007-06-10polish serialisation code (-7 lines)Don Stewart1-30/+36
darcs-hash:20070610045551-9c5c1-a1604a4e90d160728b3c5cd12acb3b4febc3625a.gz
2007-06-09HEADS UP: (logging format change). use a custom pretty printer, for an ↵Don Stewart1-2/+42
easier format to parse, than 'show' produces darcs-hash:20070609131716-9c5c1-ac6b3d7e8193b16ca9ae65f32d5373090107eca1.gz
2007-06-06Fix unmap handlingSpencer Janssen1-5/+7
According to the ICCCM, clients should send a synthetic unmap event when they initiate an unmap. The old code waited for these synthetic unmaps to unmanage windows. However, certain 'obsolete' clients do not send synthetic unmaps (notably xpdf's find dialog). These windows entered a zombified state: xmonad does not manage them, yet they are still mapped and raised on screen. The new algorithm (derived from wmii): - track windows that are mapped on screen - track the number of expected unmap events for each window, increment every time 'hide' is called on a window that is not mapped. - decrement the expected unmap counter on each unmap event - treat an unmap event as genuine (ie. unmap the window) when: - the event is synthetic (per ICCCM) - OR there are no expected unmap events for this window darcs-hash:20070606214006-a5988-7c2eced85319ff506a9b7c9dc86d5946ca0da8e5.gz
2007-06-04Remove no-longer-needed 'dimensions' state (-5 loc)Stefan O'Rear1-1/+0
darcs-hash:20070604044715-e3110-7bd7ba2b78f80046e2148fb37aa0f5fe3eca08c6.gz
2007-06-04Set WM_STATE, iconify invisible windows (+9 loc)Stefan O'Rear1-2/+4
Note that this breaks compatibility with certain programs described as "obsolete" in the ICCCM (1994). See the command above the UnmapEvent handler for details. darcs-hash:20070604042343-e3110-4766eafca2875091189159f6a1df29eac3c21387.gz
2007-06-04whitespaceDon Stewart1-3/+3
darcs-hash:20070604015532-9c5c1-1fda0e7e7cf686dc71785d3877a51d23f42b5919.gz
2007-06-04-WallDon Stewart1-1/+0
darcs-hash:20070604014630-9c5c1-4cd761ffdf2caab60d490fdc1fe189577a59272b.gz
2007-06-04do not cache atom values within Xmonad, instead let Xlib worry about caching ↵Stefan O'Rear1-3/+11
(a documented feature) darcs-hash:20070604013938-e3110-8dc84f03278c55076a5cf83013974689c4861ffc.gz
2007-06-01Rename withWorkspace to withWindowSet.glasser1-4/+4
darcs-hash:20070601001325-64353-3ea08019b13ac470d7d2c60cbdea61de7d580c8c.gz
2007-05-30Minor style change.Spencer Janssen1-1/+1
darcs-hash:20070530181006-a5988-96541d0d2832c8f248e47957e8398a01d57545f9.gz
2007-05-30log errors on executeFile in restartnickburlett1-1/+1
I found it difficult to track down a problem in the restart code where xmonad was silently not restarting. This will log the error to stderr, which should show up in .xsession-errors darcs-hash:20070530171024-01341-e8d0657705a1236dec13d1a6932d0c45b6523322.gz
2007-05-28support per-screen gap settings. you can have different gaps on individual ↵Don Stewart1-1/+1
screens now darcs-hash:20070528031501-9c5c1-beaadbacb5efc1ce5998aba41fbb3b2c68cdf0d1.gz