aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad (follow)
Commit message (Collapse)AuthorAgeFilesLines
* GHC 7 compatDaniel Wagner2011-07-3110-18/+61
| | | | | | | | | 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
* Correct H.DynamicLog.dynamicLogXinerama comment. Wuzzeb's patch at issue 466.Adam Vogt2011-07-151-4/+9
| | | | | | | | | Ignore-this: 8434fe4c740fc06b5b17f016e28e0376 Slight changes to the patch to 1. work with haddock, and 2. remove ppOutput which distracts from the formatting and is covered elsewhere. darcs-hash:20110714231741-1499c-35d5783d634799a926db2718a0a0cc7b6132a79c.gz
* ungrab-keyboard-before-actionBen Boeckel2011-05-151-1/+2
| | | | | | | | | | | Ignore-this: 5b8f3c286e8231a4d7ade2acbb2ae84a If an action that requires the keyboard to be grabbed (e.g., launching dmenu), it is a race when submapping the action as to whether the action will have access to the keyboard or not. To fix this, the keyboard should be ungrabbed before executing the action. darcs-hash:20110515210312-24e3f-42b3c50a280ec90bec11cb48b57152d062c33b01.gz
* add-movenext-moveprev-bindingsBen Boeckel2011-05-151-17/+23
| | | | | | | | Ignore-this: 2ad1ce1de0c2954b2946551dd62e6b3b Adds default bindings to GridSelect for the moveNext and movePrev motions. darcs-hash:20110515193326-24e3f-6ee8e182ecb4ba179bf038cef88e1d8d78f05e75.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
* Move tests from ManageDocks to tests/Adam Vogt2011-06-091-13/+12
| | | | | | | | | Ignore-this: 31d51fae83d88e15cdb69f29da003bf7 The change to use a newtype for RectC is kind of ugly, but this way instances are less likely to conflict in the tests. darcs-hash:20110609040220-1499c-3a64ffa1d978d1dcebf648774619b192b3b244e3.gz
* Export X.A.CycleWS.screenBy (issue 439)Adam Vogt2011-06-071-0/+13
| | | | | | Ignore-this: 2eaa2a852a3356f6163c4d38f72e730f darcs-hash:20110607002053-1499c-8c5eee58c47415d9b8e5f60a9627dc788e8e92c8.gz
* X.H.FloatNext: export X.H.ToggleHook.runLogHookTomas Janousek2011-05-281-1/+2
| | | | | | | | | Ignore-this: 5fd923e800a1a3f0977f126df7882c54 Otherwise the user has to import XMonad.Hooks.ToggleHook as well, which he didn't have to in earlier versions. darcs-hash:20110528191700-c9ff5-9eed2af08e302cda2873cbfc9d895add58cacfe9.gz
* Documentation fix (issue 445)Adam Vogt2011-05-271-1/+2
| | | | | | | | | Ignore-this: c73b88f9567af86bd560b911e33da301 Daniel's change which broke -Wall (adding an import for haddock only) was somehow removed. Instead we can just modify the sample code to add the import. darcs-hash:20110527033521-1499c-c8541e34d750bfa8aeec79389267110d05778477.gz
* X.A.AppendFile documentation fix.Adam Vogt2011-05-271-3/+5
| | | | | | | | | Ignore-this: 1ee126ddba1b06d07fba86ca43f74ab8 Forgotten > means haddock complained (and generated incorrect output). More controversially I reworded a sentence and use do notation. darcs-hash:20110527032854-1499c-b161b4dbab152c06532e3f2cb7d1922987123aa3.gz
* add-willhook-functionBen Boeckel2011-05-151-0/+5
| | | | | | | | | Ignore-this: 9db50eec5b91baa973b4a92c72aeceaf Adds a function that hooks into whether the hook will be triggered on the next request. darcs-hash:20110515191718-24e3f-997c368f871dfcfa594662b9fb889ceb9a327fef.gz
* use-map-in-toggle-hookBen Boeckel2011-05-151-20/+9
| | | | | | | | | Ignore-this: 2bf69aa1a875e7ef1748a5ab51b33daa Use "Data.Map String (Bool, Bool)" instead of "[(String, (Bool, Bool))]" in X.H.ToggleHook. darcs-hash:20110515191418-24e3f-e1e888cd721aec677bd68f2ad4ed806af4926381.gz
* Extend GridSelect navigationIlya Portnov2011-05-151-1/+26
| | | | | | | Ignore-this: f2d279b8e46e6eaf3477fdc5cf77be63 Add moveNext and movePrev, which move selection to next/previous item. darcs-hash:20110515154246-c5067-e117b3d5753e868963b36a10d2e17ccc427a97b7.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
* Aesthetics on FlexiblemanipulateMats Rauhala2011-05-061-14/+24
| | | | | | | | | Ignore-this: 8864c1ba9723ebcc3b183ea9d636a203 Based on Adam Vogts recommendation on the mailing list. I had to give explicit type signatures to get rid of warnings, but nearly verbatim to his version. darcs-hash:20110506094431-af521-a852750ba5c5415266e1226d7ccf6a832a371b03.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
* Compile with ghc7Mats Rauhala2011-05-046-38/+21
| | | | | | Ignore-this: 218d2e19835f1e4315c01bd6214899ce darcs-hash:20110504192455-af521-ba19a95226d2527af9fbad8ed902982f2db567db.gz
* Action search autocomplete based on whole lineMats Rauhala2011-05-041-1/+3
| | | | | | | | | Ignore-this: 869cf6954be97ea05cbcf7457ab430b7 The previous version autocompleted based on words, but when searching from web sites, it makes more sense to autocomplete based on the entire search. darcs-hash:20110504215201-af521-b8d9ca7727b8ec3aa4593cd9c8caaa664e2c3af8.gz
* documentation: tell where to find a few auxiliary functions that might be ↵Daniel Wagner2011-04-161-1/+7
| | | | | | | | useful in conjunction with X.A.DynamicWorkspaces Ignore-this: 1bd2232081ba045582d230b632c5bd08 darcs-hash:20110415224846-76d51-1cc38bfa8bdf61b18afef08c1244a9d56eb42817.gz
* XMonad.Hooks.FadeWindows: A generalized window fading hookBrandon S Allbery KF8NH2011-02-261-0/+221
| | | | | | Ignore-this: f21d1085ecca26602631f46c45bc198b darcs-hash:20110226002436-8238f-94884b9edfc4117dba16642bb1f17a719abbbe25.gz
* XMonad/Hooks/DebugKeyEvents - debug helper to see what keys xmonad seesBrandon S Allbery KF8NH2011-02-241-0/+107
| | | | | | Ignore-this: 5a6a99b7fcc31236152a82aa9c2cda16 darcs-hash:20110224023613-8238f-25d3f73ee0b88c110e58ea8dc008010b4582886d.gz
* Prevent non-default XUtils windows from being compositedBrandon S Allbery KF8NH2011-02-241-0/+5
| | | | | | Ignore-this: 41a67b8504c412e2754085eb0038f416 darcs-hash:20110224003224-8238f-970f78334ed7710d78819867c8052304b9f14b08.gz
* XMonad.Hooks.FloatNext: issue #406, make FloatNext use ToggleHookgwern02011-04-121-46/+13
| | | | | | Ignore-this: d06aecd03be0cbd507d3738dfde6eee7 darcs-hash:20110412015217-f7719-0f7ca52baf161302f44b5c4c671b5b6b753a3a85.gz
* issue #406: ben boeckel <mathstuf@gmail.com> +XMonad.Hooks.ToggleHookgwern02011-04-121-0/+175
| | | | | | Ignore-this: 125891614da94a5ac0e66e39932aa17e darcs-hash:20110412015127-f7719-b454f97efad45c01418f606303595e8369b81f4e.gz
* Fix xinerama workspace swapping with A.CopyWindow.killAllOtherCopiesAdam Vogt2011-03-011-1/+3
| | | | | | | | | | | Ignore-this: de5727d1248d94447c4634a05a90d1cc Spotted by arlinius in #xmonad, and this only shows up for xinerama setups. Using an algorithm that scales better with number of workspaces would probably be shorter too (visiting them in turn, rather than doing random access), but probably not worth the effort. darcs-hash:20110301033736-1499c-682fd02d5794573ba2076878a625819d22b2ecb6.gz
* XMonad.Util.Run: resolve issue #441gwern02011-04-111-11/+11
| | | | | | | | | | | | | | | Ignore-this: 9e3da81df65f6750c822a5044952f1a1 See <http://code.google.com/p/xmonad/issues/detail?idD1> > I have run into programs that fail when run by safeSpawn but succeed with spawn. > I tracked it down in one (python) and it seems to be due to uninstallSignalHandlers. > When run by safeSpawn, the program reports errors from wait. dylan did not supply a patch and his version doesn't match the declared type signature; since I don't want to break every `safeSpawn` user, I tossed a `>> return ()` in to make the type right, although I'm troubled at removing the exception functions. darcs-hash:20110411163740-f7719-bf0d46f94d103cc328629ad32f8e650fec609cdc.gz
* AppendFile: additional example of usagegwern02011-01-261-0/+9
| | | | | | Ignore-this: 2ba40977463ff15140067ef73947785c darcs-hash:20110126201018-f7719-372929e5841011021ff82411ac30fa6b8835acd2.gz
* Fix A.Gridselect image links (thanks dobblego)Adam Vogt2011-01-201-2/+2
| | | | | | Ignore-this: e2b334e13c5900a72daff866270b13db darcs-hash:20110119230113-1499c-af661ea21a9b925d5ec2f2f5ed05497b25b73387.gz
* H.ICCCMFocus had atom_WM_TAKE_FOCUS incorrectly removedAdam Vogt2011-01-061-1/+7
| | | | | | | | | | | | | | | | | | | Ignore-this: c566320f252d9fe717080e2da37ff262 It is possible that this atom should be defined in the X11 library, but fix the build of contrib for now. In any case, this would have to wait for a change and release of the X11 binding. rolling back: Wed Jan 5 22:38:39 EST 2011 Adam Vogt <vogt.adam@gmail.com> * Remove accidental atom_WM_TAKE_FOCUS from H.ICCCMFocus The XMonad module exports this already M ./XMonad/Hooks/ICCCMFocus.hs -7 +1 darcs-hash:20110106192052-1499c-00f08381db873f22c3b4b213f2ee81d4e38ee5a4.gz
* Remove accidental atom_WM_TAKE_FOCUS from H.ICCCMFocusAdam Vogt2011-01-061-7/+1
| | | | | | | | Ignore-this: 318d60c8cf4ae4f22a7500948a40ebaf The XMonad module exports this already darcs-hash:20110106033839-1499c-1c0085216af2bc3d460ab26a7be21dae85c83a30.gz
* Java swing application focus patchhaskell2011-01-051-0/+57
| | | | | | Ignore-this: 301805eb559489d34d984dc13c0fa5d0 darcs-hash:20110105032535-bbeb2-893cd5340a5c6a8f6d459a4e0a35d5e16233711d.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 A.OnScreen example code typoAdam Vogt2010-12-121-1/+1
| | | | | | Ignore-this: 486bfc9edc38913c8863e2d5581359eb darcs-hash:20101212161850-1499c-2fb7b209db6b8bfb50635a59f0d0ea7ef02184f3.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-162-2/+2
| | | | | | Ignore-this: 4fb7f279365992fe9e73388b0f4001ac darcs-hash:20101115232654-1499c-411b53c153acbcbf791150e3923a754abe530202.gz
* Rename state in A.Gridselect to avoid name shadowing (mtl-2)Adam Vogt2010-11-161-23/+22
| | | | | | Ignore-this: cd81e11ae9f5372ddd71f0c2b60675d5 darcs-hash:20101115232222-1499c-679e09cc62a0e689dd8025e9c996db2fef0b4b0d.gz
* Substring search support for X.A.GridSelect. As keymaps get more complicated ↵Clemens Fruhwirth2010-11-021-78/+181
| | | | | | | | to support different styles, the gs_navigate element is fundamentially changed. Ignore-this: 95610ac8eb781cd74f6c3ce9e36ec039 darcs-hash:20101102211213-ed0c4-283fe8b940c07c5bdb72aedbf681f8e450405cfc.gz
* Make substring search case insensitiveClemens Fruhwirth2010-10-161-1/+3
| | | | | | Ignore-this: dce1ae9e4164c24447ae9c79c4557f11 darcs-hash:20101016212904-ed0c4-97eb2fdce04a77c3ea64a65e4bd5074ee6256453.gz
* Introduce grayoutAllElements in X.A.GridSelectClemens Fruhwirth2010-10-161-1/+13
| | | | | | Ignore-this: 78ca0416b12a49965db876c77e02387f darcs-hash:20101016212559-ed0c4-081f1b143a7935f5e1336442c78cf0654c357fe9.gz
* Add substring filter to td_elementmapClemens Fruhwirth2010-10-161-2/+5
| | | | | | Ignore-this: d28b7173095c504ae0e9209303e4468a darcs-hash:20101016183644-ed0c4-224c6bb4365206fa99911254c07861bc97b5f164.gz
* Refactor for ad-hoc element and position matching turning td_elementmap into ↵Clemens Fruhwirth2010-10-161-4/+11
| | | | | | | | a function using the new td_availSlot and td_elements fields Ignore-this: 85e644a27395e97315efd1ed7a926da8 darcs-hash:20101016183554-ed0c4-b06a89b9c704034777dfa622093d64d25ed507ab.gz
* Remove nub from diamondLayer in X.A.GridSelectClemens Fruhwirth2010-10-161-5/+7
| | | | | | Ignore-this: fe290f3712fa1e122e0123d3f87f418b darcs-hash:20101016183132-ed0c4-9a57a5a4047fc12a15ca000455608b52db8f52d5.gz
* Convert access of td_elementmap from field styled to function call styled in ↵Clemens Fruhwirth2010-10-161-8/+9
| | | | | | | | X.A.GridSelect Ignore-this: b46942bf7ca0bd451b0b402ea8b01bf7 darcs-hash:20101016164757-ed0c4-15dcefcef583e40f4b8f0cb37518bc70a909dcb4.gz