[xmonad] How to get decorations to update as window title changes?

Brandon S Allbery KF8NH allbery.b at gmail.com
Tue May 10 20:52:17 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 5/7/11 16:17 , Joseph Garvin wrote:
> I've setup simple decorations in my xmonad.hs and I can toggle them,
> which is pretty nice, but I've noticed that I have to toggle the
> decorations on and off in order to get window titles to update.

Yes; they're triggered from the logHook, but that only executes on workspace
changes and some focus changes.  You really want something in the
handleEventHook that triggers on property changes (WM_NAME and _NET_WM_NAME
to be specific).

- -- 
brandon s. allbery     [linux,solaris,freebsd,perl]    allbery.b at gmail.com
system administrator  [openafs,heimdal,too many hats]                kf8nh
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3JiWEACgkQIn7hlCsL25WLhgCeLyZDPSwkcqgFEZNiB58kRCTY
6boAnjMt5U9G2/xTR3TRtplWSnT5ycFk
=zvD3
-----END PGP SIGNATURE-----



More information about the xmonad mailing list