
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 ?
Thanks
On Tue, Feb 17, 2009 at 2:40 PM, Don Stewart
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