aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-11-09Remove trailing whitespace.Adam Vogt8-52/+52
Ignore-this: 72e3afb6e6df47c51262006601765365 darcs-hash:20121109014156-1499c-45797b245e25e966e4ca337ee224b593aaac63a0.gz
2012-11-09Use Control.Exception.catch explitly to avoid warningsAdam Vogt1-1/+0
Ignore-this: 2cebdfe604c581f2b4a644e9aed726c7 The base that comes with ghc-7.6.1 no longer includes Prelude.catch; so these modules were changed so that there is no warning for import Prelude hiding (catch) At the same time these changes should be compatible with older GHCs, since the catch being has never been the one in the Prelude. darcs-hash:20121109013506-1499c-c593662b0780eb49287efcbfe0e9796f7dd57c73.gz
2012-11-09Rename variables "state" to avoid warnings about shadowingAdam Vogt3-49/+49
Ignore-this: cd063d632412f758ca9fed6393521c8f XMonad core re-exports Control.Monad.State, which includes a function "state" if you happen to use mtl-2. Since there's a chance xmonad still works with mtl-1 avoid imports like: import XMonad hiding (state) darcs-hash:20121109012316-1499c-539514f4cd97ba8b18a8fbfd1a15333b46d962e1.gz
2012-11-09Rename variable in L.Minimize to avoid shadowing.Adam Vogt1-3/+3
Ignore-this: b46d3e8e0d4106cea6966116be386677 This "state" is new with a newer mtl. darcs-hash:20121109003410-1499c-5a2ac6463df763768818a9dae5c2721c3eaede76.gz
2012-09-23Added smart spacing to the spacing moduledaedalusinfinity1-0/+15
Ignore-this: 9104bc8feb832f63f2f18998c0f7ba92 Added smart spacing to the spacing module, which adds spacing to all windows, except to windows on singleton workspaces. darcs-hash:20120923034527-6243b-e3036a0e7e350648026148a4ff0d25db40358e52.gz
2012-06-18refer to the new name 'handleEventHook' instead of the old name 'eventHook' ↵Daniel Wagner1-1/+1
in X.L.Fullscreen documentation Ignore-this: bd3b26c758cf3993d5a93957bb6f3663 darcs-hash:20120618181003-76d51-01c94d2bf810031fbe070a087108b8ab75e8b9be.gz
2012-04-28Minor haddock formatting for X.L.OnHost and X.A.DynamicWorkspaceOrderAdam Vogt1-6/+6
Ignore-this: 843ec567e249cc96d51ca931f1e36514 darcs-hash:20120428194552-1499c-86afac9105d38cb89e72661bdb2c177b0f3baf1f.gz
2012-04-28Remove trailing whitespace.Adam Vogt1-1/+1
Ignore-this: d61584110954e84d3611ef3497a29725 darcs-hash:20120428194048-1499c-b4fab8db7cd56d5ca8496e1d3c9c2147a985cf55.gz
2012-03-20XMonad.Layout.OnHost allows host-specific modifications to a layout, whichallbery.b1-0/+155
Ignore-this: 4c0d5580e805ff9f40918308914f3bf9 is otherwise very difficult to do. Similarly to X.L.PerWorkspace, it provides onHost, onHosts, modHost, and modHosts layout modifiers. It attempts to do smart hostname comparison, such that short names will be matched with short names and FQDNs with FQDNs. This module currently requires that $HOST be set in the environment. You can use System.Posix.Env.setEnv to do so in xmonad.hs if need be. (Properly, this should be done via the network library, but I'm trying to avoid adding that dependency.) An alternative would be to shell out to get the name, but that has considerable portability hurdles. darcs-hash:20120320030912-181ff-ac823f07d94265c3e745e623f6da79eeead4d121.gz
2012-03-14narrower BorderResize rectangles placed within border edgesJens Petersen1-7/+5
Ignore-this: 3a43bbdb7f2317d702edafb231f58802 Change the border resize rectangles to be narrower and only extend inside the window not outside. Most window managers just seem to use the border decoration area for starting resizes which is often just 1 pixel wide but as a compromise the width is now 2 pixels (before it was 10!). The rectangles are now placed symmetrically within the border and window. This seems to work ok with PositionStoreFloat for the Bluetile config. darcs-hash:20120314064703-2376b-7c0f261c543d9855567e5187d224eb04a0c115bd.gz
2012-03-16bump X11 dependency so that noModMask is availableDaniel Wagner1-1/+1
Ignore-this: 971a75dcad25f66848eef4174cd4ddd1 darcs-hash:20120316000302-76d51-db444dc2801d3b03900ce47429fe22571f03d4ad.gz
2012-03-05ShowWName: Increase horizontal padding for flashcrodjer1-1/+1
Ignore-this: de5fd30fad2630875c5c78091f07c324 Currently the flash window width leaves a very small amount of padding. This patch adds some extra horizontal width, governed by text width and length. darcs-hash:20120305164517-fbbbc-062a4f1dae25cfcc8f9e20b1feaea20de92cb738.gz
2012-03-06ShowWName flash window background colorRohan Jain1-1/+1
Ignore-this: 9cd8fcfc13cc326b9dcc79ef3cc21b26 While calling paintAndWrite for flash window, the background color from config should also be passed on as window background in addition to as text background color. Otherwise the window color gets set to the default black which shows up when text cannot span whole of the window. This issue becomes visible when the font size is considerably large or even in small size with truetype fonts. darcs-hash:20120306065224-afc14-c5ec054c5448ed3e68a302ad23126163b525f225.gz
2012-03-05ShowWName: Fix flash location by screen rectanglecrodjer1-3/+3
Ignore-this: 83ec4cce2297efc6736a1fe55f44ee73 In case of using this hook with multiple monitors, the Tag flash was not following the screen's coordinates. This patch shifts the new window created for flash according to the Rectangle defined by the screen. darcs-hash:20120305161240-fbbbc-9eb5efe5d06780901c87e2db8e22015549f80076.gz
2012-02-29L.WorkspaceDir: cleanup redundant {definitions,imports}Steffen Schuldenzucker1-5/+0
Ignore-this: 7a796b18a64e693e071e9ea3a6a01aa3 darcs-hash:20120229112124-4e3ba-17e3e0e4d557af7d839121a97283fa0320b72c51.gz
2012-02-27fix L.WorkspaceDir special char handling: remove "echo -n" processingSteffen Schuldenzucker1-2/+1
Ignore-this: ab48687eb4c9018312089a13fd25ecd8 darcs-hash:20120227122004-4e3ba-326bd0b046584162fc2838f3a7a7a62207291f46.gz
2011-11-20Restore TrackFloating behavior to an earlier version.Adam Vogt1-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
2011-11-18Export types to improve haddock links.Adam Vogt1-0/+2
Ignore-this: 254c5a6941009701dc444043b0eeace5 darcs-hash:20111118190642-1499c-5861d33fcb55726865d62a67a00c91f68564ae2d.gz
2011-09-07Better control over GridVariants geometrynzeh1-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
2009-12-15Additional messages for SplitGrid layoutNorbert Zeh1-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
2010-10-23Export types to reduce haddock warnings.Adam Vogt39-22/+68
Ignore-this: 1cac9202784711ce0fc902d14543bab0 darcs-hash:20101023195755-1499c-57c41357d20cbf0d57522ce99bdbfff7b686ed52.gz
2011-11-15get ready for GHC 7.4: Num a no longer implies (Eq a, Show a)Daniel Wagner1-1/+1
Ignore-this: faa34d69ddd27b98c6507740b42c9e97 darcs-hash:20111115022650-76d51-10a2e23210b65268ffa3aa606ebba72b6986e77e.gz
2011-10-23Small bugfix to XMonad.Layout.FullscreenAudun Skaugen1-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
2011-10-11documentation patch: add a bit more context to the code snippets in ↵Daniel Wagner1-6/+10
X.L.IndependentScreens Ignore-this: cbb03927204aa3c01aa9bea067d37bce darcs-hash:20111011204619-76d51-04fad5588955d5da32bd3aa742090b941c1345b6.gz
2011-08-14Fix typo in NoBorders example code.Adam Vogt1-1/+1
Ignore-this: 3ad6aaf287962bfce707b2324de91eec darcs-hash:20110814195314-1499c-81d23becd5583587393f2551385aa3ad7451e7ed.gz
2011-07-31GHC 7 compatDaniel Wagner1-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
2011-06-15X.L.LayoutHints: refresh only if hints are not satisfiedTomas Janousek1-3/+13
Ignore-this: e081f5fbd6a721e260212548d830ff6b darcs-hash:20110615150333-c9ff5-c0a9b5307c5309778e21ae7aeca89a9946647242.gz
2011-06-12L.Spacing use imported fiAdam Vogt1-1/+1
Ignore-this: ac3b405e8c43d1b1db58ecf80fafab8e darcs-hash:20110612192339-1499c-e3ed41cd5ed23daa7d16f0d679c11fab3d70eebb.gz
2011-06-09Use a phantom type instead of undefined in L.LayoutBuilderPAdam Vogt1-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
2011-06-09Add more L.LayoutBuilderP documentationAdam Vogt1-2/+14
Ignore-this: 1441d917c84b165f30711e572e239392 darcs-hash:20110609050922-1499c-3781238ffd2d6ad1f0ce84601dfdf5f019afd2e6.gz
2011-06-09Correct L.LayoutBuilderP module name in haddock.Adam Vogt1-1/+1
Ignore-this: 3c322c0767969fa42b1e2c32cf3f8a1a darcs-hash:20110609043940-1499c-250f1c6f321d5aea1443b4fdd5bea6e167dcc060.gz
2011-05-14Cleanup in X.L.LayoutBuilderP.Ilya Portnov1-7/+2
Ignore-this: 59d9ce37218424e1bc225a42d71982ab Remove unused datatype declaration and export usefull typeclass. darcs-hash:20110514132232-c5067-a40e438b21f60a6c794b8b0ea77c1730b203ce44.gz
2011-05-14Generalize X.L.AutoMaster modifierIlya Portnov1-4/+4
Ignore-this: 481c35dd721405bab8b085c45cb983ce Enable it to work not only with Windows, but with any (Eq) type. darcs-hash:20110514132549-c5067-fe26b23224c3be42c2374286f8b531e84a928aa5.gz
2011-05-11Add new layout combinator: LayoutBuilderP.Ilya Portnov1-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
2010-12-23fix X.L.Gaps documentation, thanks to Carl Mueller for the reportBrent Yorgey1-2/+2
Ignore-this: d60b64676668d5b82efb9215ac5605f6 darcs-hash:20101223010744-1e371-fab0db19c8af94ef47b6e96651cf36be5cce831f.gz
2010-12-12fix up funny unicode whitespace in FullscreenBrent Yorgey1-34/+34
Ignore-this: 406c4eec83838923edfbf0dfc554cbb7 darcs-hash:20101212142241-1e371-30c0c3c0baa914958fb55079bb76e18bfd8a11e9.gz
2010-11-16Add X.L.FullscreenAudun Skaugen audunskaugen@gmail.com1-0/+223
Ignore-this: 4b460e9a25abbb4f988801052232147a darcs-hash:20101116221611-dc3a6-529b2debf0b89fa9ac9283abd22fbf8ac513b41a.gz
2010-11-16Close the display correctly after counting the number of screensquesel1-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
2010-11-16Compatibility with mtl-1 and mtl-2Adam Vogt1-1/+1
Ignore-this: 4fb7f279365992fe9e73388b0f4001ac darcs-hash:20101115232654-1499c-411b53c153acbcbf791150e3923a754abe530202.gz
2010-11-13Pointfree and -XRank2Types don't mix in X.L.Groups.HelpersAdam Vogt1-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
2010-10-30X.L.TrackFloating docs and help nested layoutsAdam Vogt1-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
2010-10-30X.L.Maximize: Make layout forget maximized window when it is closedNorbert Zeh1-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
2010-10-30Fix bug in L.TrackFloatingAdam Vogt1-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
2010-10-16Add X.L.TrackFloating for tiled-floating focus issues (#4)Adam Vogt1-0/+83
Ignore-this: 19a4a81601c23900d78d85bd0627d5bb darcs-hash:20101016165536-1499c-b4f6c4b3795637e47cae86461d287ca2d4448dde.gz
2010-10-07minor documentation fixesDaniel Wagner2-2/+10
Ignore-this: c5c046933f318f5a14f063ca387601b9 darcs-hash:20101007011957-76d51-ab28ea5c58b183de7dd35833b2e5bdb25411900a.gz
2010-10-02Clarify the note on -XRank2Types in L.GroupsAdam Vogt1-3/+4
Ignore-this: 4ffe5d2d0be1e8b8a8c151b134e963f2 darcs-hash:20101002020841-1499c-c8512eb095bd56be173c35004b24016d457c74e9.gz
2010-01-17Mention X.L.Groups.ModifySpec's rank-2 type in the docquentin.moser1-0/+4
Ignore-this: 2061238abf835cb20579a4899655cec2 darcs-hash:20100117115601-5ccef-4c841e0535ffb6ba3bbac8ae5ae7720de4a32066.gz
2010-10-01Orphan my modulesmoserq4-7/+4
Ignore-this: 781ebf36f25a94df96fde5f7bb7bc53e darcs-hash:20101001104300-88fd0-873c177e11b9e4bed41fc29048e45ca165e369f2.gz
2010-10-01Split X.L.Groups.Examplesmoserq5-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
2010-01-20X.L.G.Examples: improve the tabs of tiledTabsmoserq1-4/+6
Ignore-this: 58a449c35e1d4a30ecfdf80f015d2dee darcs-hash:20100120103240-88fd0-05ee05c0128e2622f5c295b97946caefaf6884b9.gz