| Commit message (Collapse) | Author | Files | Lines |
|
Ignore-this: 3b7c62275701e6758397977c5c09b744
darcs-hash:20130924224738-1499c-ab95229d2c111aa4f438df0a03e2dfd4429a5a55.gz
|
|
Ignore-this: dafe5763d9abcfa606f5c1a8cf5c57d6
darcs-hash:20130923031349-1499c-4f7978aa0d6801c4cc1a1cc16f817639aaa8bbdc.gz
|
|
Ignore-this: 37ae613e4b943e99c5200915b9d95e58
darcs-hash:20130528005825-76d51-89eaf6f1aeeb02086371f9c4ae2afade984f62e0.gz
|
|
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
|
|
Ignore-this: 72e3afb6e6df47c51262006601765365
darcs-hash:20121109014156-1499c-45797b245e25e966e4ca337ee224b593aaac63a0.gz
|
|
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
|
|
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
|
|
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
|
|
Ignore-this: 1cac9202784711ce0fc902d14543bab0
darcs-hash:20101023195755-1499c-57c41357d20cbf0d57522ce99bdbfff7b686ed52.gz
|
|
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
|
|
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
|
|
Ignore-this: 18b63bccedceb66c77b345a9300f1ac3
darcs-hash:20091115131121-8978f-fd96cfc0b50bd14b0e7384ef3ad80fd0ad6c2bfa.gz
|
|
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
|
|
Ignore-this: d097c7dc1746c55e1d4078a7148f9d5a
This makes the config suggestions consistent with the current template.
darcs-hash:20091022041126-1499c-5dd63076fdd71a61276cfc8e648bada81d9cc586.gz
|
|
Ignore-this: a1fcfe2446184a8cea4553fd68565b58
darcs-hash:20090809184016-1e371-6dd9048634ffaccfbebb1461f5f8bad774dee82d.gz
|
|
Ignore-this: f8c239bc8e301cbd6fa509ef748af542
darcs-hash:20090203160046-cb1c6-d66821c5b8a5a60e3b76148654c6e28806b37749.gz
|
|
darcs-hash:20090110221310-cb1c6-9692cf87a3e5c140204a20f2923d2b0dd8913cde.gz
|
|
Ignore-this: c75da9693fa642025eac0d074869423d
darcs-hash:20081104034819-cba2c-b28013626f02b7ef10f7f2b7a35f5e66e93fb256.gz
|
|
darcs-hash:20080920062117-78224-2d5e96e00a63d20c8957f4cd1e2850ca207112b8.gz
|
|
darcs-hash:20080909055425-78224-8e7f84338523dd20d96de740137b10e3e9666bd1.gz
|
|
I'm considering rewriting remindWhen and suppressWhen as UrgencyHookModifiers, so to speak. Bleh.
darcs-hash:20080824200548-78224-8589b08cc15bcb9506c0e86df832c1d7a73efaa8.gz
|
|
Now it takes an UrgencyConfig record type.
darcs-hash:20080821052046-78224-6c4d5419c421596ccd604e1851b0e2594ffd653c.gz
|
|
darcs-hash:20080816195220-78224-2d927cfd9f8a6bcd1b3edd22bcb1de2a0926c042.gz
|
|
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
|
|
So folks can readUrgents inside their urgencyHook, should they so desire.
darcs-hash:20080714043020-78224-b75d65a74cda046369c256bcd3d0813c20219204.gz
|
|
darcs-hash:20080525050231-78224-669c83df86a8b585883d0fb3ef054e37670261e8.gz
|
|
darcs-hash:20080524211849-78224-630b08f09dcd25240be37a710801e595cae7476a.gz
|
|
Now only removes windows based on SuppressWhen setting.
darcs-hash:20080515164436-78224-0ef49f8355ace31ddbef6b6264ae9f2a8a750c89.gz
|
|
Blame it on lack of sleep. Or perhaps the causation is the reverse.
darcs-hash:20080515082222-78224-3ad2870a4f5e56481131bd4898f0d3154bb89694.gz
|
|
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
|
|
darcs-hash:20080514080104-78224-1f2c27c166eef8f9ec47b6a969991e8ab4f266d7.gz
|
|
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
|
|
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
|
|
darcs-hash:20080513054615-78224-e0a1d29bd1c0fc6dff2b30649a30e803bc6ad040.gz
|
|
darcs-hash:20080512052137-78224-b4dd19b18fa2dd98bc1fc51aa3adaf8627d781d0.gz
|
|
darcs-hash:20080512041852-78224-4d0176999f15eeed84428ad20fec485c0af7d114.gz
|
|
darcs-hash:20080512040449-78224-22bf6a8ae3f956e58d4dc0142c88643dfcfea5f3.gz
|
|
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
|
|
darcs-hash:20080426203638-78224-a93e768bf2e8d94d1bef2f4df1d03fe164caf743.gz
|
|
darcs-hash:20071208000547-a5988-874ebc1bfa76ad6ec2191812240fa2303b2d531c.gz
|
|
darcs-hash:20071207235116-a5988-563cabf7a60a879beb0eb54c9e352a1c27b7729f.gz
|
|
darcs-hash:20071207233827-a5988-9e41d51120499637f14d115f2cf1428edaf326bb.gz
|
|
darcs-hash:20071201132910-72aca-07e111e0721b34cfc038b59fa4d55622df05ae06.gz
|
|
darcs-hash:20071122065616-78224-24f6697f261b620b85d9ceb3aef0a05fe4e97a0c.gz
|
|
darcs-hash:20071114104844-32816-666b851e98e4503bf5d83add79d004c1d3be4ff9.gz
|
|
darcs-hash:20071112184857-78224-bbd65a006c4469349205e934d919480d60646160.gz
|
|
Ooh, this new XConfig l -> XConfig l' function makes the docs disappear!
darcs-hash:20071112044102-78224-e7001d7115223273b73a9229f954db3f70541a1e.gz
|
|
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
|
|
darcs-hash:20071112015855-78224-459555edb4a9acd4a06a1ae1960eb3b9e8a3d6ee.gz
|
|
This removes the dependency on redoLayout -- now WithUrgencyHook defines handleMess only.
darcs-hash:20071111021241-78224-fa4fa870f64f24bb4ea227242fc5775dd68a151a.gz
|