[dev] [dwm] [patch] USPosition, USSize

2011-08-08 Thread Connor Lane Smith
Hey, I've recently been looking into dwm's window manager hints support. I've just finished looking through all the ICCCM properties (next up EWMH), and have found only one which dwm ought to support, but doesn't: the WM_NORMAL_HINTS USPosition and USSize fields. Basically these two fields state

Re: [dev] [dwm] [patch] USPosition, USSize

2011-08-08 Thread Kurt H Maier
On Mon, Aug 8, 2011 at 10:08 PM, Connor Lane Smith wrote: > Basically these two fields state that the client's geometry has been > chosen specifically by the user, and the window manager ought to > respect that. But we don't, we just tile the window anyway. The > traditional X utilities all set th

Re: [dev] [dwm] [patch] USPosition, USSize

2011-08-08 Thread Petr Sabata
On Mon, Aug 08, 2011 at 11:37:55PM -0400, Kurt H Maier wrote: > On Mon, Aug 8, 2011 at 10:08 PM, Connor Lane Smith wrote: > > Basically these two fields state that the client's geometry has been > > chosen specifically by the user, and the window manager ought to > > respect that. But we don't, we

Re: [dev] [dwm] [patch] USPosition, USSize

2011-08-09 Thread Bryan Bennett
Honestly, I'm not sure this hint should be respected, at least not without some serious consideration. This would lead to a concept of layers that is entirely binary (either on the 'lower' tiled layer or above it in the specified size) and there's already a way to get this to work - set a class and

Re: [dev] [dwm] [patch] USPosition, USSize

2011-08-09 Thread Connor Lane Smith
Hey, On 9 August 2011 04:37, Kurt H Maier wrote: > This might be the historical reason these exist, but they were > conceived before the advent of modern tiling window managers, and imo > clients shouldn't be managing themselves anyway. I think the window manager should do whatever the user asks

Re: [dev] [dwm] [patch] USPosition, USSize

2011-08-09 Thread Bryan Bennett
Of course, Connor's right. Transient windows are always floated. However, I think this is also the expected behavior and DWM's handling of these two cases is as expected. I'm simply stating that the current way that DWM handles windows works fine for most users without us handling yet another hint.

Re: [dev] [dwm] [patch] USPosition, USSize

2011-08-09 Thread Kurt H Maier
On Tue, Aug 9, 2011 at 9:37 AM, Connor Lane Smith wrote: > I think the window manager should do whatever the user asks. Correct. And if I want my windows managed in a specific way, I need to ask the window manager. > Someone on IRC said > they use -geom and have to special-case every program fo

Re: [dev] [dwm] [patch] USPosition, USSize

2011-08-09 Thread Rob
Since there's a few opinions on this, how about we make a dwm "focus" page? The NetActiveWindow hint is not one of the better ideas in the history of X11, it really got my goat when windows started stealing focus while I'm trying to type elsewhere. Rob focus.md Description: Binary data

Re: [dev] [dwm] [patch] USPosition, USSize

2011-08-09 Thread Connor Lane Smith
On 9 August 2011 20:41, Rob wrote: > Since there's a few opinions on this, how about we make a dwm "focus" > page? The NetActiveWindow hint is not one of the better ideas in the > history of X11, it really got my goat when windows started stealing > focus while I'm trying to type elsewhere. I was