I don't like this patch, so having multiple colors for floating/non-floating windows and selected/non-selected ones is a bit confusing and useless (imho).
BTW feel free to add this patch to the wiki. About floating windows I would like to comment another anoying response of dwm in front of floating windows. This is when switching between tags, the floating windows always get focus, and you have to ^j^k between them each time you switch between tags to focus the desired tiled one each time. This is also noisy when you have a single window tagged in multiple tags and you switch between them. I usually have some floating windows with multiple tags like documentation, notifications and chats. That's useful, but anoying because you loss the focus everytime. --pancake On Tue, Jun 26, 2007 at 05:01:45PM +0400, Stanislav Maslovski wrote: > On Tue, Jun 26, 2007 at 01:42:39PM +0200, Sander van Dijk wrote: > > On 6/26/07, Stanislav Maslovski <[EMAIL PROTECTED]> wrote: > > >On Tue, Jun 26, 2007 at 11:37:46AM +0200, Sander van Dijk wrote: > > >> On 6/26/07, Stanislav Maslovski <[EMAIL PROTECTED]> 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 >
