aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Restore TrackFloating behavior to an earlier version.Adam Vogt2011-11-201-2/+2
| | | | | | | | | Ignore-this: 1a1367b4171c3ad23b0553766021629f Thanks for liskni_si for pressing the matter: without this change it is very broken, with the patch it is still not perfect but still useful. darcs-hash:20111120045538-1499c-9c31ece452b68c0344ade43a50c32237acde737f.gz
* Export types to improve haddock links.Adam Vogt2011-11-181-0/+2
| | | | | | Ignore-this: 254c5a6941009701dc444043b0eeace5 darcs-hash:20111118190642-1499c-5861d33fcb55726865d62a67a00c91f68564ae2d.gz
* Better control over GridVariants geometrynzeh2011-09-071-13/+40
| | | | | | | | | | Ignore-this: 59da789a28f702595159eeb6ddd30fd9 Added new messages the layout understands to allow changing the grid aspect ratio and setting the fraction of the master to a given value rather than changing it relative to the current value. darcs-hash:20110907133304-c6b6b-92310c19366e2dda92e3cdc5880d2f6208cdf833.gz
* Additional messages for SplitGrid layoutNorbert Zeh2009-12-151-0/+6
| | | | | | | | | | | Ignore-this: eb945168d1c420e5a9ed87da12a7acf8 This patch introduces two new message SetMasterRows and SetMasterCols for the X.GridVariants.SplitGrid layout, which set the number of rows/columns in the master grid to the given value. This is useful when setting the number of rows and/or columns non-incrementally using an interface such as GridSelect. darcs-hash:20091215192142-18a2b-ab6e52541551341405cba967a775252e83d4ce7f.gz
* Export types to reduce haddock warnings.Adam Vogt2010-10-2339-22/+68
| | | | | | Ignore-this: 1cac9202784711ce0fc902d14543bab0 darcs-hash:20101023195755-1499c-57c41357d20cbf0d57522ce99bdbfff7b686ed52.gz
* get ready for GHC 7.4: Num a no longer implies (Eq a, Show a)Daniel Wagner2011-11-151-1/+1
| | | | | | Ignore-this: faa34d69ddd27b98c6507740b42c9e97 darcs-hash:20111115022650-76d51-10a2e23210b65268ffa3aa606ebba72b6986e77e.gz
* Small bugfix to XMonad.Layout.FullscreenAudun Skaugen2011-10-231-8/+10
| | | | | | | | | | | Ignore-this: adcfedf11b40be2cdd61f615551e0ae Fixed a small bug in the layout modifers where windows entering fullscreen were not refreshed. Also fixed some funny whitespace characters. darcs-hash:20111023102940-7999d-f5cbbb43b0cb1180e5fd29caa4d733b59748f5b8.gz
* documentation patch: add a bit more context to the code snippets in ↵Daniel Wagner2011-10-111-6/+10
| | | | | | | | X.L.IndependentScreens Ignore-this: cbb03927204aa3c01aa9bea067d37bce darcs-hash:20111011204619-76d51-04fad5588955d5da32bd3aa742090b941c1345b6.gz
* Fix typo in NoBorders example code.Adam Vogt2011-08-141-1/+1
| | | | | | Ignore-this: 3ad6aaf287962bfce707b2324de91eec darcs-hash:20110814195314-1499c-81d23becd5583587393f2551385aa3ad7451e7ed.gz
* GHC 7 compatDaniel Wagner2011-07-311-1/+6
| | | | | | | | | Ignore-this: 17a43a709e70ebccc925e016d7057399 * true error: more modules export foldl/foldl'/foldr, so explicitly use the Data.Foldable one * -Werror error: transition from Control.OldException to Control.Exception, assuming everything was IOException darcs-hash:20110731170850-76d51-71271524485f6d10f84521f271182bea5085d400.gz
* X.L.LayoutHints: refresh only if hints are not satisfiedTomas Janousek2011-06-151-3/+13
| | | | | | Ignore-this: e081f5fbd6a721e260212548d830ff6b darcs-hash:20110615150333-c9ff5-c0a9b5307c5309778e21ae7aeca89a9946647242.gz
* L.Spacing use imported fiAdam Vogt2011-06-121-1/+1
| | | | | | Ignore-this: ac3b405e8c43d1b1db58ecf80fafab8e darcs-hash:20110612192339-1499c-e3ed41cd5ed23daa7d16f0d679c11fab3d70eebb.gz
* Use a phantom type instead of undefined in L.LayoutBuilderPAdam Vogt2011-06-091-4/+7
| | | | | | | | | | | | Ignore-this: f9009c339ac20245ca0b1dc8154b673f This better expresses the idea that the argument to alwaysTrue is just there to select an instance. Another option could be to do use a fundep, which seems to be compatible with the two instances so far. class Predicate p w | p -> w darcs-hash:20110609051858-1499c-ea3f8f433a510fea3c6fcc79b77098d14afe163f.gz
* Add more L.LayoutBuilderP documentationAdam Vogt2011-06-091-2/+14
| | | | | | Ignore-this: 1441d917c84b165f30711e572e239392 darcs-hash:20110609050922-1499c-3781238ffd2d6ad1f0ce84601dfdf5f019afd2e6.gz
* Correct L.LayoutBuilderP module name in haddock.Adam Vogt2011-06-091-1/+1
| | | | | | Ignore-this: 3c322c0767969fa42b1e2c32cf3f8a1a darcs-hash:20110609043940-1499c-250f1c6f321d5aea1443b4fdd5bea6e167dcc060.gz
* Cleanup in X.L.LayoutBuilderP.Ilya Portnov2011-05-141-7/+2
| | | | | | | Ignore-this: 59d9ce37218424e1bc225a42d71982ab Remove unused datatype declaration and export usefull typeclass. darcs-hash:20110514132232-c5067-a40e438b21f60a6c794b8b0ea77c1730b203ce44.gz
* Generalize X.L.AutoMaster modifierIlya Portnov2011-05-141-4/+4
| | | | | | | Ignore-this: 481c35dd721405bab8b085c45cb983ce Enable it to work not only with Windows, but with any (Eq) type. darcs-hash:20110514132549-c5067-fe26b23224c3be42c2374286f8b531e84a928aa5.gz
* Add new layout combinator: LayoutBuilderP.Ilya Portnov2011-05-111-0/+200
| | | | | | | | Ignore-this: 377b748cb6b84ef7c9f7cde1d4ebd535 LayoutBuilderP is similar to LayoutBuilder (and is based on it), but LayoutBuilderP places windows matching given X.U.WindowProperties.Property (or any other predicate) into one rectangle, instead of fixed number of windows. darcs-hash:20110511154010-c5067-2f813b2d31a92230d7de035602ec4e659c742abd.gz
* fix X.L.Gaps documentation, thanks to Carl Mueller for the reportBrent Yorgey2010-12-231-2/+2
| | | | | | Ignore-this: d60b64676668d5b82efb9215ac5605f6 darcs-hash:20101223010744-1e371-fab0db19c8af94ef47b6e96651cf36be5cce831f.gz
* fix up funny unicode whitespace in FullscreenBrent Yorgey2010-12-121-34/+34
| | | | | | Ignore-this: 406c4eec83838923edfbf0dfc554cbb7 darcs-hash:20101212142241-1e371-30c0c3c0baa914958fb55079bb76e18bfd8a11e9.gz
* Add X.L.FullscreenAudun Skaugen audunskaugen@gmail.com2010-11-161-0/+223
| | | | | | Ignore-this: 4b460e9a25abbb4f988801052232147a darcs-hash:20101116221611-dc3a6-529b2debf0b89fa9ac9283abd22fbf8ac513b41a.gz
* Close the display correctly after counting the number of screensquesel2010-11-161-1/+2
| | | | | | | | | | | | Ignore-this: 6fbc269e34770935fed7d4fd9494154b This patch adds support for calling countScreens in arbitrary places. Prior to this patch one would end up with an open display for each call of the countScreens function with would eventually mess up X. This patch ensures that the display that is no longer needed is closed after the operation and thus using the function without side effects. darcs-hash:20101116081449-2216c-b6d4aee766682de3bec2aa9dd733adcccb5cdf7b.gz
* Compatibility with mtl-1 and mtl-2Adam Vogt2010-11-161-1/+1
| | | | | | Ignore-this: 4fb7f279365992fe9e73388b0f4001ac darcs-hash:20101115232654-1499c-411b53c153acbcbf791150e3923a754abe530202.gz
* Pointfree and -XRank2Types don't mix in X.L.Groups.HelpersAdam Vogt2010-11-131-2/+2
| | | | | | | | | Ignore-this: 21aa9b687179c5622dc6fae749c7872 It used to work with ghc-6.12 (and earlier?), but ghc-7RC2 type inference doesn't work with . instead of it's definition. darcs-hash:20101113022839-1499c-e4b76537164f29e065c24db279215dbac727c01f.gz
* X.L.TrackFloating docs and help nested layoutsAdam Vogt2010-10-301-14/+44
| | | | | | | | | | Ignore-this: a4362384ff8baab896715226772edf62 Now TrackFloating remembers focus for the given layout when the other window is also tiled, but not fed to the given layout: this helps with X.L.IM, among others. darcs-hash:20101030175615-1499c-e205cecd50f076131e4b5b527454a0a4f79dc273.gz
* X.L.Maximize: Make layout forget maximized window when it is closedNorbert Zeh2010-10-301-1/+3
| | | | | | | | | | | | | | | | Ignore-this: 9e8bfacce7f90634532078584c82940a The X.L.Maximize layout modifier does not track whether the window it stores as maximized does still exist. The X server reuses window IDs. As a result, I was able to reproduce the following behaviour (e.g., by opening and closing xpdf windows): Create a window, maximize it, close it without restoring it to its normal state. Open a new window with the same window ID (e.g., an xpdf window after just closing an xpdf window). The new window will open maximized, which is not what one would expect. This patch addresses this problem, removing the ID of the maximized window from the layout when the maximized window is closed. darcs-hash:20101029221551-18a2b-985a1a8aff5522d2ef05cbb53f18ba459daf5ef8.gz
* Fix bug in L.TrackFloatingAdam Vogt2010-10-301-15/+18
| | | | | | | | | | | | Ignore-this: 2c3902ea9f1d70a7043965c8aa99891d Addresses the comment that: If the focus goes from the floating layer to tiling by deleting a floating window, it's again the master window that gets focus, not the remembered window. darcs-hash:20101030000620-1499c-fedd38718bbcaaac77dae90f13aae2c5f66fa6a0.gz
* Add X.L.TrackFloating for tiled-floating focus issues (#4)Adam Vogt2010-10-161-0/+83
| | | | | | Ignore-this: 19a4a81601c23900d78d85bd0627d5bb darcs-hash:20101016165536-1499c-b4f6c4b3795637e47cae86461d287ca2d4448dde.gz
* minor documentation fixesDaniel Wagner2010-10-072-2/+10
| | | | | | Ignore-this: c5c046933f318f5a14f063ca387601b9 darcs-hash:20101007011957-76d51-ab28ea5c58b183de7dd35833b2e5bdb25411900a.gz
* Clarify the note on -XRank2Types in L.GroupsAdam Vogt2010-10-021-3/+4
| | | | | | Ignore-this: 4ffe5d2d0be1e8b8a8c151b134e963f2 darcs-hash:20101002020841-1499c-c8512eb095bd56be173c35004b24016d457c74e9.gz
* Mention X.L.Groups.ModifySpec's rank-2 type in the docquentin.moser2010-01-171-0/+4
| | | | | | Ignore-this: 2061238abf835cb20579a4899655cec2 darcs-hash:20100117115601-5ccef-4c841e0535ffb6ba3bbac8ae5ae7720de4a32066.gz
* Orphan my modulesmoserq2010-10-014-7/+4
| | | | | | Ignore-this: 781ebf36f25a94df96fde5f7bb7bc53e darcs-hash:20101001104300-88fd0-873c177e11b9e4bed41fc29048e45ca165e369f2.gz
* Split X.L.Groups.Examplesmoserq2010-10-015-314/+396
| | | | | | | | | | Ignore-this: 4d3bc3c44b1c0233d59c6ce5eefcc587 X.L.G.Examples : rowOfColumns and tiled tabs layouts X.L.G.Helpers : helper actions X.L.G.Wmii : wmii layout darcs-hash:20101001104142-88fd0-6ac471ab66a886497aba7d6c0b4803c3b8aaa884.gz
* X.L.G.Examples: improve the tabs of tiledTabsmoserq2010-01-201-4/+6
| | | | | | Ignore-this: 58a449c35e1d4a30ecfdf80f015d2dee darcs-hash:20100120103240-88fd0-05ee05c0128e2622f5c295b97946caefaf6884b9.gz
* X.L.G.Examples: improve the tabs of wmiiLikemoserq2010-01-201-2/+5
| | | | | | Ignore-this: 1519338158025fb580cac523e4a41b88 darcs-hash:20100120101746-88fd0-7aff3f13f8b0ff2ac5a260053c3764b041224cdb.gz
* X.L.Groups: Always keep one group, even if empty.quentin.moser2010-01-181-37/+46
| | | | | | Ignore-this: 22d7f9b92484c3411ecba66b06f69821 darcs-hash:20100118021526-5ccef-dc7dd054a62918c6d097ced0dce4c0ea46b446d7.gz
* Do not duplicate layouts in X.L.Groupsquentin.moser2010-01-171-8/+8
| | | | | | | | Ignore-this: 100f8ccfbbcda9e8f5cc2b1470772928 I liked the idea, but it completey messes up Decoration layouts. darcs-hash:20100117114708-5ccef-459d59239b85786ac3d0a406be4c3f799c4a1089.gz
* Add missing module re-export (issue 366)Adam Vogt2010-09-301-0/+3
| | | | | | Ignore-this: ecd6e4ff54d41f37a75be72f3d0e4a59 darcs-hash:20100930002046-1499c-5e674b4348bf002410d7ed133349c0d3990fdc25.gz
* This patch adds support for multiple master windows to X.L.Masterquesel2010-05-181-16/+47
| | | | | | Ignore-this: 5c62202575966ee65e9b41ef41c30f94 darcs-hash:20100518060557-2216c-1863401668febf2c430576802860d069d22aa8ae.gz
* X.L.LayoutHints: event hook to refresh on hints changeTomas Janousek2010-07-061-1/+20
| | | | | | Ignore-this: 54eba739c76db176cbb4ef66e30c201f darcs-hash:20100706185925-c9ff5-2aa842bb1f8f3a67cff43670c20db9a7f0438720.gz
* Explain fields added for "XMonad.Layout.ImageButtonDecoration"Adam Vogt2010-09-141-2/+4
| | | | | | Ignore-this: 8eae99afb2857a91aabbf3b7f27c784e darcs-hash:20100913232720-1499c-10f6b62841b0ce1bca58673203cb64242140d5b1.gz
* Minimize: Replaced calls to 'sendMessage' (BW.focusDown) and 'windows' with ↵Jan Vornberger2010-07-283-11/+14
| | | | | | | | | | alternative methods Ignore-this: 67257480b7b93181967a806fedf6fbc5 Calling these functions during message handling results in the loss of layout state. This fixes a number of bugs related to the combination of X.L.Minimize with a decoration. darcs-hash:20100727224841-594c5-c8ddec3ae634ec96103e332433066b5173a0002a.gz
* A hook to handle minimize/restore window manager hints.Justin Bogner2010-06-161-2/+2
| | | | | | | | | | Ignore-this: c562ce1df81bce9a7dc5e7fe2dc67a43 XMonad.Hooks.Minimize handles both minimize and restore messages. Handling restore messages was already done in RestoreMinimized, which this module intends to replace. darcs-hash:20100616051124-18f27-729a41e41728de0e8c32f53032633d34b92ebf0f.gz
* Note that Simplest works well with BoringWindowsAdam Vogt2010-06-221-0/+13
| | | | | | Ignore-this: b9b6060842651c0df47b23dddb3bf54a darcs-hash:20100622030850-1499c-18e7b9e780fff7fd3b291f7a7d449adcff378de2.gz
* Add a way to update the modifier in X.L.LayoutModifierDaniel Schoepe2009-08-221-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
* Use CPP to add to exports for Selective tests (L.LimitWindows)Adam Vogt2010-04-191-2/+7
| | | | | | Ignore-this: 74c228892f07bb827e4b419f4efdb04 darcs-hash:20100419014344-1499c-4a6191209e2f2457f1ca1e347387bb74d9dd957a.gz
* Use imported `fi' alias for fromIntegral more often.Adam Vogt2010-04-163-8/+3
| | | | | | | | | 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
* Note that mouseResizableTileMirrored may be removed.Adam Vogt2010-04-161-0/+1
| | | | | | Ignore-this: 2b005aa36abe224f97062f80e8558af7 darcs-hash:20100416161118-1499c-e65324ed1623372fbd551353fdc771538b1d8b6a.gz
* Structure L.MouseResizableTile documentation.Adam Vogt2010-04-161-29/+21
| | | | | | Ignore-this: c285ac8a4663bdd2ae957b3c198094da darcs-hash:20100416160641-1499c-210f416d5aff2809ed62a2dfe049c5a17ae5fe8e.gz
* X.L.MouseResizableTile: make everything configurableTomas Janousek2010-04-151-30/+57
| | | | | | Ignore-this: f8164dc63242c7e32210c9577a254bf7 darcs-hash:20100415214609-c9ff5-4a1e2eade8e844976465fca7f53d618bcaa40a0d.gz