Re: [dwm] a lone client could be borderless

From: Don Stewart <>
Date: Fri, 21 Mar 2008 14:53:10 -0700

> > Date: Fri, 21 Mar 2008 19:49:18 +0100
> > From:
> > To:
> > Subject: Re: [dwm] a lone client could be borderless
> >
> > On 3/21/08, markus schnalke wrote:
> >> But anyway, special corner case handling leads to bad code. It
> >> conflicts with generality, which is one of the design principles.
> I understand. My principle would be "the border only appears when needed".

for what its worth, we had to tackle this too in xmonad, which now has
an extension, 'smart borders', that tries to apply this rule. given any
layout, it uses some heuristics to hide the border of windows in that
layout (its a layout modifier, basically)

so any layout, with a single client, or a fullscreen client, or a
floating window at fullscreen, etc.

for the xinerama case, its a bit tricky: you sometimes need the border
to decide which screen has focus.

-- Don
Received on Fri Mar 21 2008 - 22:53:45 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:27:56 UTC