Re: [dev] One Border is Not Enough

2012-01-18 Thread Bastien Dejean
Connor Lane Smith: On 15 January 2012 10:55, Bastien Dejean nihilh...@gmail.com 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

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 nihilh...@gmail.com wrote: Solution: add a separation border between the window boundary and the focus border. The contrast between the separation border and the

[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

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

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 Troels Henriksen
Bjartur Thorlacius svartma...@gmail.com 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

Re: [dev] One Border is Not Enough

2012-01-15 Thread Bjartur Thorlacius
On Sun, 15 Jan 2012 12:02:01 -, Troels Henriksen at...@sigkill.dk wrote: Bjartur Thorlacius svartma...@gmail.com 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

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 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 active

Re: [dev] One Border is Not Enough

2012-01-15 Thread Troels Henriksen
Bastien Dejean nihilh...@gmail.com 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 John Matthewman
On 1/15/12, Bastien Dejean nihilh...@gmail.com 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

Re: [dev] One Border is Not Enough

2012-01-15 Thread Connor Lane Smith
On 15 January 2012 10:55, Bastien Dejean nihilh...@gmail.com 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

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 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

Re: [dev] One Border is Not Enough

2012-01-15 Thread Bjartur Thorlacius
On Sun, 15 Jan 2012 13:08:55 -, Connor Lane Smith c...@lubutu.com 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