
Hello Adam, Sorry for the delay, I was very lazy the last few months. But it's getting better and I'm attaching a patch. :-) On Fri, Nov 05, 2010 at 07:06:59PM -0400, Adam Vogt wrote:
* 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 [...]
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.
It turns out that we don't need to store anything. It suffices to check whether current window size satisfies current hints. The attached patch does just that. It works for me and it isn't slowing down anything, it seems. Regards, -- Tomáš Janoušek, a.k.a. Liskni_si, http://work.lisk.in/