Re: [dev] One Border is Not Enough

2012-01-18 Thread Petr Šabata
On Wed, Jan 18, 2012 at 11:11:09AM +0100, Bastien Dejean wrote: > Connor Lane Smith: > > > On 15 January 2012 10:55, Bastien Dejean wrote: > > > Solution: add a separation border between the window boundary and the > > > focus border. The contrast between the separation border and the focus > > >

Re: [dev] One Border is Not Enough

2012-01-18 Thread Bastien Dejean
Connor Lane Smith: > On 15 January 2012 10:55, Bastien Dejean wrote: > > Solution: add a separation border between the window boundary and the > > focus border. The contrast between the separation border and the focus > > border should be high and constant. My solution is incomplete: a third bor

Re: [dev] One Border is Not Enough

2012-01-15 Thread Florian Limberger
On Sun, 15 Jan 2012 09:32:07 -0500, Kurt H Maier wrote: your unwarranted sense of self-importance is astounding. you wouldn't happen to be an arch linux user, would you? Do you now detest users more than gentoo users by now?

Re: [dev] One Border is Not Enough

2012-01-15 Thread Bjartur Thorlacius
On Sun, 15 Jan 2012 13:08:55 -, Connor Lane Smith wrote: Your work is so mission critical that mistaking window focus being "very unlikely" is not enough? Well then, the only way to avoid such a mistake is to maximise every window (i.e., monocle mode); or more generally always placing the f

Re: [dev] One Border is Not Enough

2012-01-15 Thread Kurt H Maier
On Sun, Jan 15, 2012 at 01:29:59PM +0100, Bastien Dejean wrote: > > No: this is more likely a general design problem as stated in my > original message. I don't want to choose my active border color based on > some design flaw and "very unlikely" is not enough. your unwarranted sense of self-impo

Re: [dev] One Border is Not Enough

2012-01-15 Thread Martti Kühne
On Sun, Jan 15, 2012 at 11:55:34AM +0100, Bastien Dejean wrote: > Solution: add a separation border between the window boundary and the > focus border. The contrast between the separation border and the focus > border should be high and constant. Another pretty easily implemented approach would be

Re: [dev] One Border is Not Enough

2012-01-15 Thread Connor Lane Smith
On 15 January 2012 10:55, Bastien Dejean wrote: > Solution: add a separation border between the window boundary and the > focus border. The contrast between the separation border and the focus > border should be high and constant. This is only solvable in the general case by making dwm reparent,

Re: [dev] One Border is Not Enough

2012-01-15 Thread John Matthewman
On 1/15/12, Bastien Dejean wrote: > Florian Limberger: > >> This is more likely a problem of your colorscheme, for example my >> active border is #ff9900, which is very unlikely to be the background >> color of any window. > > No: this is more likely a general design problem as stated in my > orig

Re: [dev] One Border is Not Enough

2012-01-15 Thread Troels Henriksen
Bastien Dejean writes: > Bjartur Thorlacius: > >> Just draw the second border on the root window. > > Will it work with floating windows? No. -- \ Troels /\ Henriksen

Re: [dev] One Border is Not Enough

2012-01-15 Thread Bastien Dejean
Florian Limberger: > This is more likely a problem of your colorscheme, for example my > active border is #ff9900, which is very unlikely to be the background > color of any window. No: this is more likely a general design problem as stated in my original message. I don't want to choose my activ

Re: [dev] One Border is Not Enough

2012-01-15 Thread Bastien Dejean
Bjartur Thorlacius: > Just draw the second border on the root window. Will it work with floating windows? -- b.d (| |) ^ ^

Re: [dev] One Border is Not Enough

2012-01-15 Thread Bjartur Thorlacius
On Sun, 15 Jan 2012 12:02:01 -, Troels Henriksen wrote: "Bjartur Thorlacius" writes: This could be implemented as a gap between windows in tile(). Just offset windows a few pixels more than {wh,ww} + 2*borderpx. Dwm.c is probably more readable than the previous sentence. You'd also ne

Re: [dev] One Border is Not Enough

2012-01-15 Thread Troels Henriksen
"Bjartur Thorlacius" writes: > This could be implemented as a gap between windows in tile(). Just > offset windows a few pixels more than {wh,ww} + 2*borderpx. Dwm.c is > probably more readable than the previous sentence. You'd also need to construct a border pixmap rather than the current sing

Re: [dev] One Border is Not Enough

2012-01-15 Thread Bjartur Thorlacius
This could be implemented as a gap between windows in tile(). Just offset windows a few pixels more than {wh,ww} + 2*borderpx. Dwm.c is probably more readable than the previous sentence. -- -,Bjartur

Re: [dev] One Border is Not Enough

2012-01-15 Thread Florian Limberger
Hello Bastien, On Sun, 15 Jan 2012 11:55:34 +0100, Bastien Dejean wrote: It might happen that the background color of the active window is very close to the color of the active border. In so, the active border become nearly invisible and useless. This is more likely a problem of your colors

[dev] One Border is Not Enough

2012-01-15 Thread Bastien Dejean
Hi, There's a problem with the current single border logic of all the minimal tiling X wm I'm aware of: It might happen that the background color of the active window is very close to the color of the active border. In so, the active border become nearly invisible and useless. Solution: add a se