[xmonad] Re: darcs patches for tiled hinted mplayer with fullscreen working

Adam Vogt vogt.adam at gmail.com
Fri Nov 5 19:06:59 EDT 2010


* 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


More information about the xmonad mailing list