aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* X.L.MouseResizableTile: configurable gaps (dragger size and position)Tomas Janousek2010-04-151-38/+66
| | | | | | | | | Ignore-this: 5803861bbfecbc8c946b817b98909647 (with the option of putting the draggers over window borders with no gaps at all) darcs-hash:20100415213813-c9ff5-a515b8a9679917cfb247683a4ca6b90cd6efbed6.gz
* prettier haddock markup for L.NoBordersAdam Vogt2010-04-051-6/+6
| | | | | | Ignore-this: 1a9862e6e7ec0e965201a65a68314680 darcs-hash:20100405184020-1499c-bf8707ca6f0387e0c3960a5c07b67e7940a79e25.gz
* ImageButtonDecoration: new image for menu buttonJan Vornberger2010-04-021-10/+10
| | | | | | Ignore-this: 3977c4bfcb4052e07321ec9e83f917c6 darcs-hash:20100402174910-594c5-c6c9576ca8b2b4c8a54604c586c75d5a81d86ba0.gz
* image_buttonstrupill2010-03-313-15/+236
| | | | | | | | | | | | | Ignore-this: 418dbf488435c7c803695407557eecfb * Added a XMonad.Util.Image module to manipulate simple images and show them into an X drawable * Added the possibility of using image buttons instead of plain text buttons into the title bar * Added a XMonad.Layout.ImageButtonDecoration as an example of how to use the image buttons darcs-hash:20100331093808-a84fe-e6d3ce505f7656eef13f0c0609a8d236d9cd8d25.gz
* X.L.Named deprecate and implement using X.L.RenamedAnders Engstrom2010-04-011-19/+12
| | | | | | | Ignore-this: a74963ef4990c9e845b9142b8648cf26 nameTail behaves slightly different if there are whitespace before the first word or the name contains tabs or other such whitespace. But I expect few users are affected since the only usecase where nameTail is actually needed is to remove automatically added prefixes. These prefixes will be removed as they should by the new implementation. darcs-hash:20100401212403-8978f-756f76fe1fd7128f020c4527e44d0e03529d5d41.gz
* X.L.Minimize remove redundant importsAnders Engstrom2010-04-011-2/+0
| | | | | | Ignore-this: f7bbfe96c8d08955fc845318f918ec86 darcs-hash:20100401204400-8978f-27204eed5af3dc131a1329d92dbc00cf97f1ec65.gz
* minimize_ewmhtrupill2010-03-301-3/+31
| | | | | | Ignore-this: 4d14b74192af503c4b2e28ea877c85f5 darcs-hash:20100330183616-a84fe-8a826bd9ac482c72323fbb35f38e4d15f9d6e6a3.gz
* Note that Groups has redundancies and the interface may change.Adam Vogt2010-03-301-0/+3
| | | | | | | | | Ignore-this: 2f4dc5a2355ace4005dd07fc5d459f1a Refer to: http://www.haskell.org/pipermail/xmonad/2010-January/009585.html darcs-hash:20100330175945-1499c-47584b6518fd87b3bb791281afe62e6a31e69e66.gz
* Update my e-mail addressquentin.moser2010-01-174-4/+4
| | | | | | Ignore-this: f5efc4d494cb001d3cfbe2b2e169cbe5 darcs-hash:20100117011109-5ccef-9bf858e60dffc4321b5e324c76b8b72386051c76.gz
* New module: X.L.Groups.Examplesquentin.moser2010-01-171-0/+518
| | | | | | | | Ignore-this: 8fc40821759d7ed439ecc6726417f52d Utility functions and examples using X.L.Groups. darcs-hash:20100117010236-5ccef-d43cc0223b2ecaeb708c212d6fcf57a89a8a1a8b.gz
* New module: X.L.Groupsquentin.moser2010-01-171-0/+496
| | | | | | | | Ignore-this: 167e191d520a36b94cf24121ead67dae The mother of all layout combinators. darcs-hash:20100117005301-5ccef-d1c1a05b6b9150c919373238df5659f23566249d.gz
* New module: X.L.ZoomRowquentin.moser2010-01-171-0/+258
| | | | | | | | Ignore-this: c464ae1005679484e364eb6ece31d9fc Row layout with individually resizable elements. darcs-hash:20100117003939-5ccef-4ae41bdfe49f01a78884e97e8054b52b346dac70.gz
* New module: X.L.Renamedquentin.moser2010-01-171-0/+71
| | | | | | Ignore-this: 38a5c638e36090c746356390c09d3479 darcs-hash:20100117002612-5ccef-27e50ef969b6b58fe5028e6f7cf39a4ca92252b1.gz
* MessageControl: rm trailing whitespacegwern02010-03-141-3/+3
| | | | | | Ignore-this: d4dc93a8a68847123918db416080e018 darcs-hash:20100314210038-f7719-d1e147057774018ef0e955c1df0134836b440382.gz
* LimitWindows.hs: rm trailing whitespacegwern02010-03-141-1/+1
| | | | | | Ignore-this: 7d138a5903d45ffeeb4e89f1b8923382 darcs-hash:20100314210030-f7719-7bff349073f0cb4fe074ffc01655bbca25cf65ad.gz
* LayoutCombinators.hs: rm trailing whitespacegwern02010-03-141-1/+1
| | | | | | Ignore-this: e387bdea6c346fc8a892b06294995442 darcs-hash:20100314210021-f7719-9b65a834082c69066dd671ab17166f142724a422.gz
* DecorationAddons.hs: rm trailing whitespacegwern02010-03-141-1/+1
| | | | | | Ignore-this: 2f54649e43ebf11e35bd8764d1a44675 darcs-hash:20100314210012-f7719-d69c5858a063db7baf6efd958f350297977cf5d9.gz
* Column.hs: rm whitespacegwern02010-03-141-2/+2
| | | | | | Ignore-this: 6cfd701babde42d5dc61bfbe95305b20 darcs-hash:20100314210001-f7719-c1cd8c3928c6fd9e07e1558572e73d6d27e1d2c0.gz
* Fix bugs with nested drawers in X.L.DrawerMax Rabkin2010-03-101-9/+10
| | | | | | | | | Ignore-this: 5c7665f3f3ea2c629deb0cca3715bb8d There were two bugs: 1. The layout modifier assumed the rect's x was zero. 2. The layout modifier assumed that the stackset's focus actually had focus. darcs-hash:20100310170159-a5338-19f7aa3df6ad57734d0ebc874e5d758935d19850.gz
* Correct L.Drawer haddock markup and re-export required module.Adam Vogt2010-03-081-10/+11
| | | | | | Ignore-this: 1cc5675a68a66cf436817137a478b747 darcs-hash:20100308225258-1499c-18bfb1da09948a660aca306f500df55103226bf2.gz
* Added X.L.DrawerMax Rabkin2010-03-082-1/+129
| | | | | | | | Ignore-this: c7973679b7b2702178ae06fc45396dda X.L.Drawer provides a layout modifier for retracting windows which roll down (like the Quake console) when they gain focus. darcs-hash:20100308212752-a5338-92b3b8a0ec633333427a7b30aa379d7cf39f4864.gz