[Xmonad] darcs patch: only display any given window once.

Spencer Janssen sjanssen at cse.unl.edu
Sat Jul 28 15:33:44 EDT 2007

On Tuesday 24 July 2007 09:27:03 David Roundy wrote:
> Hi all,
> This change is independent of the change to delete.  Together they make
> sticky windows (via the CopyWindow contrib module) work nicely with
> Xinerama.  Without this change, a gap will be visible on one or more
> screens when a sticky window is present in workspaces present on multiple
> screens, which is not the end of the world, but is a bit ugly.  With this
> change, each window is displayed on only one screen.
> Note that this is just an amend-recorded version of my earlier patch, fixed
> to work with the modified API.
> David
> Tue Jul 24 07:13:10 PDT 2007  David Roundy <droundy at darcs.net>
>   * only display any given window once.
>   This change goes along with the sticky window work.  It makes xmonad
>   display each window once and only once, with preference given to the
>   focussed screen.  It has no effect when there are no duplicate windows,
>   except to make things less efficient.  We could do better using Data.Set
>   (or Data.Map) to store the set of windows that are visible.

I haven't forgotten this patch, I'm just sitting on it for a while.  One 
concern I have is that 'windows' is becoming very long and unwieldy.  I'll 
push this patch once I've done some refactoring to get this under control.

Spencer Janssen

More information about the Xmonad mailing list