How to get decorations to update as window title changes?

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. Firefox for example constantly changes the title of the window to match the website you're currently visiting, and I've setup my terminal to change the window title whenever I switch directories, but xmonad doesn't pick up either of these until I toggle the decorations on and off. Is there a way to have them update as they change? -Joe G.

-----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@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-----
participants (2)
-
Brandon S Allbery KF8NH
-
Joseph Garvin