On Thu, 2007-05-24 at 09:14 -0700, David Roundy wrote:
On Wed, May 23, 2007 at 10:09:56PM -0500, Spencer Janssen wrote:
If we change the delete behavior, I think we can do this in XMonadContrib. What do you think?
That seems to be the way to go.
I had a look into this yesterday. Additional to what has been mentioned, it'd require a small change to Operations.refresh. Unfortunately much of Operations.hs and Main.hs depend on refresh so all these functions would also need to be rewritten to use any new implementation of refresh. So it's not something that can easily be put into Contrib. It would be much simpler to modify Operations.refresh directly. Perhaps an alternative is to provide a patch to refresh, insert etc in MonadContrib rather than a module? Another alternative is to improve configurability by making StackSet a class providing several methods such as visibleWindows for refresh and other operations to use. Tagging, focus stacks and xinerama could then all be implemented in contrib by providing their own StackSet data types and methods. With both tagging and xinerama in Contrib, the user could choose which they prefer based on their setup. However, it would require a fair bit of LoC to provide such an API and doubt that providing an API for replacing arbitrary components of the system is really within the scope of the project. -- Robert Marlow <bobstopper@bobturf.org>