Re: [dev] [dwm] [patch] Fix for retarded clients that send unmapnotify events

2011-08-08 Thread Connor Lane Smith
Hey, On 8 August 2011 04:58, Valentin Ochs a...@0au.de wrote: Just found http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.4 So apparently the help window wants to go into WithdrawnState, get ignored by dwm, and draw its own icon or whatever right after being mapped. Makes sense to me...

Re: [dev] [dwm] [patch] Fix for retarded clients that send unmapnotify events

2011-08-08 Thread Valentin Ochs
On Mon, Aug 08, 2011 at 04:43:31PM +0100, Connor Lane Smith wrote: if((c = wintoclient(ev-window))) { if(ev-send_event) setclientstate(c, WithdrawnState); else unmanage(c, False); } That way we abide by the standard, even if that means we set the state to

Re: [dev] [dwm] [patch] Fix for retarded clients that send unmapnotify events

2011-08-08 Thread garbeam
On 8 August 2011 18:10, Valentin Ochs a...@0au.de wrote: On Mon, Aug 08, 2011 at 04:43:31PM +0100, Connor Lane Smith wrote: if((c = wintoclient(ev-window))) {     if(ev-send_event)         setclientstate(c, WithdrawnState);     else         unmanage(c, False); } That way we abide by

[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 c...@lubutu.com 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