aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks/UrgencyHook.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix UrgencyHook and add filterUrgencyHookAdam Vogt2013-09-251-1/+17
| | | | | | Ignore-this: 3b7c62275701e6758397977c5c09b744 darcs-hash:20130924224738-1499c-ab95229d2c111aa4f438df0a03e2dfd4429a5a55.gz
* export XMonad.Hooks.UrgencyHook.clearUrgency (issue 533)Adam Vogt2013-09-231-1/+1
| | | | | | Ignore-this: dafe5763d9abcfa606f5c1a8cf5c57d6 darcs-hash:20130923031349-1499c-4f7978aa0d6801c4cc1a1cc16f817639aaa8bbdc.gz
* eliminate references to defaultConfigDaniel Wagner2013-05-281-3/+3
| | | | | | Ignore-this: 37ae613e4b943e99c5200915b9d95e58 darcs-hash:20130528005825-76d51-89eaf6f1aeeb02086371f9c4ae2afade984f62e0.gz
* Add EWMH DEMANDS_ATTENTION support to UrgencyHook.Maarten de Vries2013-02-121-10/+57
| | | | | | | | | Ignore-this: 5a4b314d137676758fad9ec8f85ce422 Add support for the _NET_WM_STATE_DEMANDS_ATTENTION atom by treating it the same way as the WM_HINTS urgency flag. darcs-hash:20130212181229-e67f5-0b4ac099df444e38cb3025b21076d49674aa4e4a.gz
* Remove trailing whitespace.Adam Vogt2012-11-091-2/+2
| | | | | | Ignore-this: 72e3afb6e6df47c51262006601765365 darcs-hash:20121109014156-1499c-45797b245e25e966e4ca337ee224b593aaac63a0.gz
* Add missing type signatures.Adam Vogt2012-11-091-0/+4
| | | | | | | | | | | Ignore-this: f54f5d9907ae48d58c98de7f8eb1f8a For whatever reason, some patches applied were missing these signatures. While haddock has been able to include inferred signatures for a while, including type signatures makes it easier to see if and when types have been changed. darcs-hash:20121109012752-1499c-8ae303fbd7b4590f10d1c34ff9aed23c1be5c117.gz
* UrgencyHooks made available as Window -> X () functionsgopsychonauts2012-05-041-1/+10
| | | | | | | | | | | | | | | Ignore-this: 6a57cae1d693109b7e27c6471d04f50f Adds an UrgencyHook instance for the type Window -> X (), allowing any such functions to be used directly as UrgencyHooks. The Show and Read constraints were removed from the UrgencyHook class in order to permit this; these constraints were required only in a historical implementation of the module, which used a layout modifier. All existing configurations using UrgencyHooks should remain fully functional. New configs may make use of this modification by declaring their UrgencyHook as a simple Window -> X () function. darcs-hash:20120504062339-1e6bb-c452c421b9598394f422d90e4875aa7f834bf62f.gz
* Add BorderUrgencyHook to XMonad.Hooks.UrgencyHookallbery.b2012-02-251-0/+26
| | | | | | | | | | | Ignore-this: 9fac77914ff28a6e9eb830e8c9c7e21e BorderUrgencyHook is a new UrgencyHook usable with withUrgencyHook or withUrgencyHookC; it allows an urgent window to be given a different border color. This may not always work as intended, since UrgencyHook likes to assume that a window being visible is sufficient to disable urgency notification; but with suppressWhen darcs-hash:20120225082616-181ff-86834feb1bc8299474b0c6364f617af38c6222b7.gz
* Export types to reduce haddock warnings.Adam Vogt2010-10-231-1/+2
| | | | | | Ignore-this: 1cac9202784711ce0fc902d14543bab0 darcs-hash:20101023195755-1499c-57c41357d20cbf0d57522ce99bdbfff7b686ed52.gz
* X.H.UrgencyHook: performance fixTomas Janousek2010-03-301-2/+4
| | | | | | | | | | Ignore-this: b626166259858f16bc5051c67b498c68 cleanupUrgents would update the Map in extensible state 2-times the number of visible windows, resulting in excessive memory usage and garbage collection. This seems to make it behave correctly. darcs-hash:20100330141341-c9ff5-640ee7327b6818fd5a7560af8296056c9c9f3803.gz
* Changed interface of X.U.ExtensibleStateDaniel Schoepe2009-11-161-5/+5
| | | | | | | | | Ignore-this: 9a830f9341e461628974890bab0bd65b Changed the interface of X.U.ExtensibleState to resemble that of Control.Monad.State and modified the modules that use it accordingly. darcs-hash:20091116171013-7f603-0631dc163d78785b123bc10164ee3295add28b60.gz
* X.H.Urgencyhook fix minor doc bugAnders Engstrom2009-11-151-1/+1
| | | | | | Ignore-this: 18b63bccedceb66c77b345a9300f1ac3 darcs-hash:20091115131121-8978f-fd96cfc0b50bd14b0e7384ef3ad80fd0ad6c2bfa.gz
* Use X.U.ExtensibleState instead of IORefsDaniel Schoepe2009-11-061-19/+22
| | | | | | | | | | Ignore-this: e0e80e31e51dfe76f2b2ed597892cbba This patch changes SpawnOn, DynamicHooks and UrgencyHooks to use X.U.ExtensibleState instead of IORefs. This simplifies the usage of those modules thus also breaking current configs. darcs-hash:20091106115601-7f603-4e2ce344aca377c5c4409b139ad35ca4b1311185.gz
* Refer to modm as the current modMaskAdam Vogt2009-10-221-2/+2
| | | | | | | | Ignore-this: d097c7dc1746c55e1d4078a7148f9d5a This makes the config suggestions consistent with the current template. darcs-hash:20091022041126-1499c-5dd63076fdd71a61276cfc8e648bada81d9cc586.gz
* fix UrgencyHook docs (\a -> \\a in Haddock)Brent Yorgey2009-08-091-1/+1
| | | | | | Ignore-this: a1fcfe2446184a8cea4553fd68565b58 darcs-hash:20090809184016-1e371-6dd9048634ffaccfbebb1461f5f8bad774dee82d.gz
* Adjustments to use the new event hook feature instead of Hooks.EventHookDaniel Schoepe2009-02-031-9/+9
| | | | | | Ignore-this: f8c239bc8e301cbd6fa509ef748af542 darcs-hash:20090203160046-cb1c6-d66821c5b8a5a60e3b76148654c6e28806b37749.gz
* Adjustments to new userCode functionDaniel Schoepe2009-01-101-2/+2
| | | | darcs-hash:20090110221310-cb1c6-9692cf87a3e5c140204a20f2923d2b0dd8913cde.gz
* Work around ghc 6.10 bug #2738Don Stewart2008-11-041-1/+1
| | | | | | Ignore-this: c75da9693fa642025eac0d074869423d darcs-hash:20081104034819-cba2c-b28013626f02b7ef10f7f2b7a35f5e66e93fb256.gz
* UrgencyHook bug fix: cleanupUrgents should clean up reminders, tooDevin Mullins2008-09-201-6/+6
| | | | darcs-hash:20080920062117-78224-2d5e96e00a63d20c8957f4cd1e2850ca207112b8.gz
* add clearUrgents for your keysDevin Mullins2008-09-091-3/+10
| | | | darcs-hash:20080909055425-78224-8e7f84338523dd20d96de740137b10e3e9666bd1.gz
* add reminder functionality to UrgencyHookDevin Mullins2008-08-241-33/+91
| | | | | | I'm considering rewriting remindWhen and suppressWhen as UrgencyHookModifiers, so to speak. Bleh. darcs-hash:20080824200548-78224-8589b08cc15bcb9506c0e86df832c1d7a73efaa8.gz
* change withUrgencyHookC apiDevin Mullins2008-08-211-18/+21
| | | | | | Now it takes an UrgencyConfig record type. darcs-hash:20080821052046-78224-6c4d5419c421596ccd604e1851b0e2594ffd653c.gz
* X.H.UrgencyHook: haddock fixesDevin Mullins2008-08-161-2/+2
| | | | darcs-hash:20080816195220-78224-2d927cfd9f8a6bcd1b3edd22bcb1de2a0926c042.gz
* XMonad.Hooks.UrgencyHook: +FocusHookgwern02008-07-171-1/+12
| | | | | | This is a hook for simply traveling to whatever window has just set an urgent flag, instead of doing something more involved like printing to a status bar and letting the user do something manually. darcs-hash:20080716224745-f7719-4fa145f9754e829bea78c89ede58ca01e3187e14.gz
* callUrgencyHook after adjustUrgentsDevin Mullins2008-07-141-2/+2
| | | | | | So folks can readUrgents inside their urgencyHook, should they so desire. darcs-hash:20080714043020-78224-b75d65a74cda046369c256bcd3d0813c20219204.gz
* more documentation for WindowNavigation and UrgencyHookDevin Mullins2008-05-251-0/+26
| | | | darcs-hash:20080525050231-78224-669c83df86a8b585883d0fb3ef054e37670261e8.gz
* doco tweaksDevin Mullins2008-05-241-2/+2
| | | | darcs-hash:20080524211849-78224-630b08f09dcd25240be37a710801e595cae7476a.gz
* UrgencyHook: removeVisiblesFromUrgents -> cleanupUrgentsDevin Mullins2008-05-151-16/+22
| | | | | | Now only removes windows based on SuppressWhen setting. darcs-hash:20080515164436-78224-0ef49f8355ace31ddbef6b6264ae9f2a8a750c89.gz
* decent documentation for UrgencyHookDevin Mullins2008-05-151-34/+124
| | | | | | Blame it on lack of sleep. Or perhaps the causation is the reverse. darcs-hash:20080515082222-78224-3ad2870a4f5e56481131bd4898f0d3154bb89694.gz
* X.A.WindowNavigation: have currentPosition handle axes independentlyDevin Mullins2008-05-151-0/+2
| | | | | | | This improves some subtle interactions between mod-j/k and mod-w/a/s/d, though that might not become very apparent until I fix setPosition. darcs-hash:20080515053330-78224-2ba67cefda58b7c079b23f93441859e30c539c73.gz
* UrgencyHook: some documentation (more is needed)Devin Mullins2008-05-141-5/+27
| | | | darcs-hash:20080514080104-78224-1f2c27c166eef8f9ec47b6a969991e8ab4f266d7.gz
* UrgencyHook: got rid of the need for instances to know about suppressWhenDevin Mullins2008-05-141-28/+30
| | | | | | This changes the API a little bit, but that's what you get for using a day-old feature from darcs. darcs-hash:20080514072217-78224-b625ee9ab6b9ff69bd1e0cc68f0a15b8724e3a06.gz
* pull suppressWhen logic into main WithUrgencyHook handlerDevin Mullins2008-05-131-17/+18
| | | | | | | | In order for this to work, I added a new UrgencyHook method to communicate the SuppressWhen value. I'm not sure if this is actually better than just providing a convenience function, but it's an easy switch. darcs-hash:20080513075247-78224-760cd588622855d35f7acaae1084396f38b7b634.gz
* add suppressWhen option to dzenUrgencyHookDevin Mullins2008-05-131-11/+22
| | | | darcs-hash:20080513054615-78224-e0a1d29bd1c0fc6dff2b30649a30e803bc6ad040.gz
* UrgencyHook: doc typoDevin Mullins2008-05-121-2/+2
| | | | darcs-hash:20080512052137-78224-b4dd19b18fa2dd98bc1fc51aa3adaf8627d781d0.gz
* UrgencyHook: extract whenNotVisibleDevin Mullins2008-05-121-5/+10
| | | | darcs-hash:20080512041852-78224-4d0176999f15eeed84428ad20fec485c0af7d114.gz
* SpawnUrgencyHook, FWIWDevin Mullins2008-05-121-0/+9
| | | | darcs-hash:20080512040449-78224-22bf6a8ae3f956e58d4dc0142c88643dfcfea5f3.gz
* make UrgencyHook an EventHookDevin Mullins2008-05-121-39/+33
| | | | | | | | | | This gets rid of the stupid bug that led to a need for the clearBit hack, and allowed me to simplify the types (since EventHooks aren't required to parameterize on the window type). Config files need not change, unless they declare instances of UrgencyHook, in which case, they should remove "Window" as is seen in this patch. darcs-hash:20080512024822-78224-a40955a5860155950928422fe71192e044f4af27.gz
* bug doco for UrgencyHookDevin Mullins2008-04-261-0/+4
| | | | darcs-hash:20080426203638-78224-a93e768bf2e8d94d1bef2f4df1d03fe164caf743.gz
* Remove XMonad.Operations importsSpencer Janssen2007-12-081-1/+0
| | | | darcs-hash:20071208000547-a5988-874ebc1bfa76ad6ec2191812240fa2303b2d531c.gz
* Prune more importsSpencer Janssen2007-12-081-2/+0
| | | | darcs-hash:20071207235116-a5988-563cabf7a60a879beb0eb54c9e352a1c27b7729f.gz
* Remove redundant importsSpencer Janssen2007-12-081-2/+0
| | | | darcs-hash:20071207233827-a5988-9e41d51120499637f14d115f2cf1428edaf326bb.gz
* add to Droundy a non-working urgency hook and enable avoidStruts.David Roundy2007-12-011-0/+1
| | | | darcs-hash:20071201132910-72aca-07e111e0721b34cfc038b59fa4d55622df05ae06.gz
* UrgencyHook: haddock fixesDevin Mullins2007-11-221-9/+13
| | | | darcs-hash:20071122065616-78224-24f6697f261b620b85d9ceb3aef0a05fe4e97a0c.gz
* UrgencyHook.hs: small haddock fixAndrea Rossato2007-11-141-0/+1
| | | | darcs-hash:20071114104844-32816-666b851e98e4503bf5d83add79d004c1d3be4ff9.gz
* remove dead codeDevin Mullins2007-11-121-4/+1
| | | | darcs-hash:20071112184857-78224-bbd65a006c4469349205e934d919480d60646160.gz
* fix intro doco for UrgencyHookDevin Mullins2007-11-121-9/+5
| | | | | | Ooh, this new XConfig l -> XConfig l' function makes the docs disappear! darcs-hash:20071112044102-78224-e7001d7115223273b73a9229f954db3f70541a1e.gz
* revert UrgencyHook behavior back to ICCCM non-complianceDevin Mullins2007-11-121-21/+53
| | | | | | | | | | | | | | Note: If you're using UrgencyHook, this will break your config. @withUrgencyHook SomeUrgencyHook@ is XConfig -> XConfig, now. The layout hook has been renamed to urgencyLayoutHook. It may also be worth noting that, in order to recreate the old behavior without using redoLayout (so that this may be ported to an eventHook), I had to hijack logHook. Shouldn't harm anything, though. TODO: update main docs darcs-hash:20071112043325-78224-ce6010e269c19113dd7a1b736e1e520d2980aa58.gz
* add StdoutUrgencyHook, to help debug weird client behaviorDevin Mullins2007-11-121-3/+13
| | | | darcs-hash:20071112015855-78224-459555edb4a9acd4a06a1ae1960eb3b9e8a3d6ee.gz
* let clients track their urgency, per ICCCMDevin Mullins2007-11-111-22/+14
| | | | | | This removes the dependency on redoLayout -- now WithUrgencyHook defines handleMess only. darcs-hash:20071111021241-78224-fa4fa870f64f24bb4ea227242fc5775dd68a151a.gz