Re: [dwm] [PATCH] Separate border colors for floating windows

From: Stanislav Maslovski <stanislav.maslovski_AT_gmail.com>
Date: Tue, 26 Jun 2007 17:01:45 +0400

On Tue, Jun 26, 2007 at 01:42:39PM +0200, Sander van Dijk wrote:
> On 6/26/07, Stanislav Maslovski <stanislav.maslovski_AT_gmail.com> wrote:
> >On Tue, Jun 26, 2007 at 11:37:46AM +0200, Sander van Dijk wrote:
> >> On 6/26/07, Stanislav Maslovski <stanislav.maslovski_AT_gmail.com> wrote:
> >> >Hello,
> >> >
> >> >I propose this small change. It allows to use separate border colors for
> >> >floating windows. If needed I will send a screenshot that shows the use
> >of
> >> >it:
> >>
> >> May I ask what you want this for? Floating windows are already
> >> distinguished by the little square in their title, and their
> >> non-restricted size and position usually gives them away too.
>
> >I set NORMBORDERCOLOR to the background color of my GTK2 theme so that
> >the tiled windows visually appear "glued" together (there is no visible
> >border). At the same time I want the floating windows that have a border.
>
> It seems to me that what you really want is borderless tiled apps.

Yes. Borderless tiled windows but floating ones with a distinctive border.

> The way you achieve (well, fake, actually) this now (background-colored
> borders) looks like a hack to me;

I agree it is a kind of hack.

Another possibility was to have borderwidth = 0 for tiled windows,
and borderwidth != 0 for the floating ones. But if it is done this way,
the tiled windows will not get the red frame that marks the window
that has focus. And I like this red frame ;)

> it's also incomplete: what about
> non-gtk apps for example?

Well, most of the themes I use have consistent colors. Gtk, Gtk2, Qt, etc.

> Stuff like this is fine for personal use,
> but I don't think it belongs in mainstream dwm.

It would be nice if one proposes a more natural way how to
achive the same effect.

-- 
Stanislav
Received on Tue Jun 26 2007 - 15:01:53 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:45:11 UTC