
5 Nov
2010
5 Nov
'10
7:06 p.m.
* On Thursday, November 04 2010, Tomáš Janoušek wrote:
Sadly, after using that patch for some time, I found that it slows down xmonad considerably, as rxvt-unicode updates size hints several times on every size change (for no reason at all, the hints stay the same). I solved that issue by adding whenX (runQuery (className =? "MPlayer") w) $ refresh
A cleaner solution might be caching the hints using ExtensibleState and calling refresh only if they change. What do you think?
Regards, -- Tomáš Janoušek, a.k.a. Liskni_si, http://work.lisk.in/
Using XMonad.Util.PositionStore may be better: if the hints change, but the current shape satisfies them, I think it's reasonable not to refresh. Adam