all repos — dwm @ 39ed54a468f339535f82cce2c0a79b92e74a7c09

my dwm build

simplified configurerequest to a bare minimum, removed wrong ban() calls
Anselm R. Garbe arg@suckless.org
Mon, 19 Feb 2007 11:34:12 +0100
commit

39ed54a468f339535f82cce2c0a79b92e74a7c09

parent

b61f91361c81b3c619ef6dac6e80e19a64d5fcf3

2 files changed, 1 insertions(+), 16 deletions(-)

jump to
M client.cclient.c

@@ -68,14 +68,6 @@

/* extern */ void -ban(Client *c) { - if(!c || c->isbanned) - return; - c->isbanned = True; - XMoveWindow(dpy, c->win, c->x + 2 * sw, c->y); -} - -void configure(Client *c) { XConfigureEvent ce;
M event.cevent.c

@@ -184,16 +184,9 @@ if(ev->value_mask & CWHeight)

c->h = ev->height; if((ev->value_mask & (CWX | CWY)) && !(ev->value_mask & (CWWidth | CWHeight))) - { configure(c); - if(isvisible(c)) - XMoveWindow(dpy, c->win, c->x, c->y); - } - else { + if(isvisible(c)) XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); - if(!isvisible(c)) - ban(c); - } } else configure(c);