[Xmonad] darcs patch: make borderWidth dynamically configurable.
droundy at darcs.net
Mon Jun 11 09:54:29 EDT 2007
On Mon, Jun 11, 2007 at 02:07:32PM +1000, Donald Bruce Stewart wrote:
> > This is a sort of hypothetical change. I like this design more than the
> > recursive import approach. I'm not sure how often people will want to
> > dynamically adjust the width of their borders, but I also don't see any
> > reason to forbid it.
> Hmm, interesting. Not massively compelling yet, but something to keep in
Part of the motivation is simply that I'd like to avoid recursive
imports--largely because I see them as a crude hack to avoid good design,
by hiding parameters. Global constants aren't much better than global
variables. Of course, we've already got global variables, but they're
explicit in our state, and that's good.
The other issue is that I really think that the border width should be
layout-dependent. This patch doesn't do that, and I'm not quite sure how
to do it properly, but there's really no benefit to a border around a
full-screen (or tabbed) window.
More information about the Xmonad