aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout/LayoutModifier.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-08-22Add a way to update the modifier in X.L.LayoutModifierDaniel Schoepe1-3/+21
Ignore-this: f257a376bef57689287b68ed21ec903d This patch adds the possibility to update the state of a layout modifier when modifying the underlying layout before it is run(i.e. using modifyLayout). The modified state is also passed to the subsequent call of redoLayout, whose return takes precedence if both functions return modified states of the layout modifier. darcs-hash:20090822213958-7f603-2116263ba9622458aa9dea0f664af4431775a361.gz
2009-06-26Replace most -fglasgow-exts with specific LANGUAGE pragmasAdam Vogt1-2/+1
Ignore-this: 2274fdd689b0576a76d9f3373e9c7159 darcs-hash:20090626025457-1499c-1d7bdb15732bb3d45e853e140f66fe38fc4fcafa.gz
2008-10-05Merge emptyLayoutMod into redoLayoutJoachim Breitner1-31/+9
This removes the emptyLayoutMod method from the LayoutModifier class, and change the Stack parameter to redoLayout to a Maybe Stack one. It also changes all affected code. This should should be a refactoring without any change in program behaviour. darcs-hash:20081005190220-23c07-4701517e3433ecff8c999da75ac582f6f1b65c19.gz
2008-08-28remove myself as maintainer from modules I don't maintain or use.David Roundy1-1/+1
darcs-hash:20080828151830-72aca-75151cf20f4efc1a3d1bc324cfdbc5602f58b363.gz
2008-03-25XMonad.Layout.LayoutModifier: add a metric crapload of documentationBrent Yorgey1-10/+205
darcs-hash:20080325205006-bd4d7-4f991be5593d55564ac0952d9019e43e8e68ba31.gz
2008-02-23LayoutModifier: reimplement ModifiedLayout using runLayout and moreAndrea Rossato1-16/+12
- change modifyLayout type to get the Workspace - updated ResizeScreen and ManageDocks accordingly. darcs-hash:20080223075610-32816-05f373cf73305ce5b41d0c250fb5d6413e72b3b4.gz
2008-01-28LayoutModifier: add modifyDescription for completely override the modified ↵Andrea Rossato1-3/+5
layout description darcs-hash:20080128160614-32816-0bb2e8e13a656887e5376405f866190874e050ab.gz
2008-01-27LayoutModifier add a modifyLayoutAndrea Rossato1-1/+4
Many layouts are written as layout modifiers because they need to change the stack of the rectangle before executing doLayout. This is a major source of bugs. all layout modifiers should be using the LayoutModifier class. This method (modifyLayout) can be used to manipulate the rectangle and the stack before running doLayout by the layout modifier. darcs-hash:20080127140219-32816-bc3dbfc0be08587b94acead49f384e72c89e2df0.gz
2008-01-24LayoutModifier: add emptyLayoutMod for dealing with empty workspacesAndrea Rossato1-0/+10
darcs-hash:20080124015605-32816-cdcd0b9509d793e85a2a0acd8d61e1ee69455568.gz
2008-01-22LayoutModifier: add pureMess and pureModifier to the LayoutModifier classAndrea Rossato1-2/+7
darcs-hash:20080122111319-32816-c35527f71b561f828a4c11cf215e5f2b24d2f539.gz
2007-12-08Remove redundant importsSpencer Janssen1-1/+0
darcs-hash:20071207233827-a5988-9e41d51120499637f14d115f2cf1428edaf326bb.gz
2007-11-23LayouModifier: haddock docsAndrea Rossato1-4/+10
darcs-hash:20071123142519-32816-499cc42b2f9ad51fc3d9f6575ccc7f8514a0493e.gz
2007-11-01HierarchifySpencer Janssen1-2/+2
darcs-hash:20071101201059-a5988-fc1f1262bec1b69e13ba18ae7cefeafc8c4471d4.gz
2007-11-01Use hierarchical module names from the coreSpencer Janssen1-1/+1
darcs-hash:20071101182824-a5988-e02ade829d66f49dd6b303b7a797933251c44164.gz
2007-11-01LayoutModifier: LayoutMessages have movedSpencer Janssen1-1/+0
darcs-hash:20071101070724-a5988-86d36deff1289dc0c6ea77d034f41992ba565f53.gz
2007-10-22Fix pragmas in XMonadContribShachaf Ben-Kiki1-1/+1
darcs-hash:20071022011738-bffde-f9e478770d4eb6900b4dff171fb950551aac85f5.gz
2007-10-20allow layout modifiers to modify a Message in transit.David Roundy1-4/+9
This is a helpful feature (for, e.g. WindowNavigation) that allows modifiers (if they so choose... the old API remains supported) to easily send a single Message to the modified layout in response to a Message. darcs-hash:20071020191542-72aca-fd6b8f2edb91519b4e475319c2bc8c3d4b77136d.gz
2007-10-18default to empty description for layout modifiers.David Roundy1-1/+1
This is because modifierDescription is designed to be human-readable, and show rarely creates a human-readable description. And in many (if not most) cases, an empty description is precisely what we want. darcs-hash:20071018202604-72aca-6da6f02e804c95da4cbccae205f83217333f7c96.gz
2007-10-18beautify description code for empty modifier-description.David Roundy1-3/+3
darcs-hash:20071018202438-72aca-a9f81255bde7bfa91b531d5240f5e719aaf16e7d.gz
2007-10-18change definition of 'description' function for LayoutModifier so an extra ↵Brent Yorgey1-1/+3
space is not added if the modifier description is empty. darcs-hash:20071018183054-bd4d7-0a1a4a2fb97cf789106b0e820b0471ea9f33146a.gz
2007-10-08Add LANGUAGE pragamsShachaf Ben-Kiki1-1/+2
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:20071008022141-bffde-c7ab0ae3d58eab8707b5f428a7236540bae5b4e1.gz
2007-09-29some renaming of classes and data types.David Roundy1-4/+4
darcs-hash:20070929191238-72aca-ceb0f2a89b35460e87cf9ff935f786b5a6028fb5.gz
2007-09-28Use LANGUAGE pragmasSpencer Janssen1-0/+2
darcs-hash:20070928174602-a5988-5ed53faf58a42ad7e96e4ebb60b559a34de5ebfd.gz
2007-09-28LayoutModifier: call unhook after releaseResourcesSpencer Janssen1-2/+4
darcs-hash:20070928174510-a5988-a7a20cfad92710b8b746fc182d83f109494de015.gz
2007-09-28Make modifier descriptions prettierSpencer Janssen1-1/+1
darcs-hash:20070928053257-a5988-dd4e81b692c192e263be88688077c4bb011e765e.gz
2007-09-28LayoutModifier should have descriptions tooSpencer Janssen1-0/+3
darcs-hash:20070928053106-a5988-52ef6ad59898865d6d389059e126f210a2f6e4ec.gz
2007-09-25modifyLayout -> handleMessage.David Roundy1-2/+2
darcs-hash:20070925182930-72aca-7941d37cac143444e9f167e3dd15944d1138a377.gz
2007-09-24fix embarrassing bugs in LayoutModifier.David Roundy1-2/+2
darcs-hash:20070924195726-72aca-d8c9a6286c3f88b7cb5cbbb1c379da8b5b249921.gz
2007-09-24LayoutModifier updated to use LayoutMessagesAndrea Rossato1-2/+2
darcs-hash:20070924193345-32816-89f6d432ec661fd5926fb3630fc353f41221b8e3.gz
2007-09-23rename LayoutHelpers to LayoutModifier.David Roundy1-2/+2
darcs-hash:20070923215956-72aca-af065b4b5a9aaf57adca7eb93aa72ae843656cd1.gz
2007-09-23Update NoBorders and LayoutHelpers.David Roundy1-23/+27
darcs-hash:20070923192640-72aca-6d42a9003e9339dfd61dab830527c12c880d74f4.gz
2007-09-23add a hook to LayoutHelpers.David Roundy1-1/+3
darcs-hash:20070923121723-72aca-45c0afd09bcc3b07b2ae8337bdc4527c288e6b7f.gz
2007-09-23update LayoutHelpers to work with new Layout class.David Roundy1-38/+25
darcs-hash:20070923114929-72aca-0df66e37c244429f62b412bb58b78d06ec4fee6a.gz
2007-08-18LayoutHelpers: haddock tuningAndrea Rossato1-2/+2
darcs-hash:20070818083220-32816-60f929b57a469195f3a631ab08d40a5d0f4192d8.gz
2007-06-23make everything work with new doLayout.David Roundy1-14/+11
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
2007-06-23introduce idModify which is just "const (return Nothing)".David Roundy1-1/+4
darcs-hash:20070623143542-72aca-b1bc6ffaf524ee9c1f4ac7e04d8224e02bba0b1b.gz
2007-06-22add new LayoutHelpers module.David Roundy1-0/+62
darcs-hash:20070622142950-72aca-6dc011f903d12a056b1124752fc37f23368f898e.gz