]> git.sur5r.net Git - i3/i3/commit - src/config.c
implement delayed urgency hint reset
authorSimon Elsbrock <simon@iodev.org>
Sat, 22 Sep 2012 11:48:22 +0000 (13:48 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 22 Sep 2012 12:12:09 +0000 (14:12 +0200)
commit28104a480ca9a2ab135488ab98545d67e81a9f9d
tree0755b09328a1a7b89f2c13b161988e8607a2a5c0
parente15e37f9228f798ca892bcdc9da6bd2f2462ab6a
implement delayed urgency hint reset

If there is a client with an urgency hint on another workspace and
switching to this workspace would cause the urgency to be reset (by
moving the focusing to the client), delay the reset by some time. This
gives the user the chance to see it.

This commit adds the possibility to configure the urgency delay timer
duration using the 'force_display_urgency_hint' directive. Also,
documentation and a testcase was added to allow for automated checks of
the intended behavior.

fixes #482
docs/userguide
include/config.h
include/data.h
src/cfgparse.l
src/cfgparse.y
src/config.c
src/handlers.c
src/tree.c
src/workspace.c
testcases/t/198-urgency-timer.t [new file with mode: 0644]