[xmonad] complexity of 'windows'

lowly coder lowlycoder at huoyanjinjing.com
Tue Feb 17 17:52:54 EST 2009

It's dons! This is like the source for xmonad.

I have a favor to ask .. can you give me a modifier version of 'windows'
that takes another argument (a workspace to apply it to); thus allowing me
to manipulate WindowSet for something other than W.current ?


On Tue, Feb 17, 2009 at 2:40 PM, Don Stewart <dons at galois.com> wrote:

> lowlycoder:
> > I'm looking at the 'windows' function, and do not understand why it's so
> > complicated. If it's just WindowSet -> WindowSet ... why is it so long?
> >
> > I ask this because I want to manipulate the WindowSet of a workspace that
> is
> > _NOT_ visible; the only function that is WindowSet -> WindowSet is
> "windows".
> > However, windows has W.current hard coded into it -- and I'm not sure
> what all
> > of the other stuff in there is.
> It's the function that flushes the window set model out to actual
> X server effects on the world. It has to map our abstract understanding
> of the state of the X server to real bits flipped in xorg.
> We hide all the evil state manipulation in one place, rather than
> sprinkling it throughout the beautiful model.
> -- Don
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/xmonad/attachments/20090217/13e4e4f5/attachment.htm

More information about the xmonad mailing list