
On Sun, 9 May 2010 10:24:19 -0400, Brent Yorgey
On Fri, May 07, 2010 at 01:23:43PM -0300, Norbert Zeh wrote:
Brent Yorgey [2010.05.07 1119 -0400]:
How does this compare with the existing functionality in XMonad.Actions.CycleWS? Is there a possibility of merging them
into
a single module?
Actually, I just looked at CycleWS again. It seems that indeed, it supports similar things on workspaces as the new module supports on windows. I don't feel strongly either way about merging these two. If anyone has strong feelings about this, let me know.
Oh, sorry, somehow I had missed the fact that your module cycles *windows* rather than workspaces. There may still be a possibility of refactoring out some common functionality for "cycling through things satisfying a predicate" but I'm happy leaving that for later.
This may be worthwhile indeed. It will take some work, though, to introduce a unified notion of a Query on workspaces or windows and possibly other things we haven't thought of yet, which can then be passed into this unified cycling framework. - Norbert