17 May 2013 18:46
XMonad.Layout.ShowWName patch
Hello,
I use xmonad on a 512MB laptop. I noticed that using |showWName| (from
XMonad.Layout.ShowWName) in my layoutHook slowed down Xmonad when switching
between workspaces.
I logged into #xmonad and enquired about it. Let me quote user geekosaur, who
correctly diagnosed the problem:
geekosaur "The XSync function flushes the output buffer and then waits
until all requests have been received and processed by the X
server." that's gonna hurt...
geekosaur looks like a case of premature optimization, from the patch
history
So I deleted that particular call; workspace switching is more responsive after
that (on my other machine, with more RAM, the difference is barely noticeable).
I attach the .dpatch
-Francesco
1 patch for repository http://code.haskell.org/XMonadContrib: Fri May 17 17:33:41 CEST 2013 Francesco Ariis <fa-ml@...> * Remove unneeded XSync call in Layout.ShowWName New patches:(Continue reading)
RSS Feed