diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-02-19 11:34:12 +0100 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-19 11:34:12 +0100 |
commit | 39ed54a468f339535f82cce2c0a79b92e74a7c09 (patch) | |
tree | aaba07ba8c98a34aa9a81f972eb4e0987227afeb /event.c | |
parent | b61f91361c81b3c619ef6dac6e80e19a64d5fcf3 (diff) | |
download | dwm-39ed54a468f339535f82cce2c0a79b92e74a7c09.tar dwm-39ed54a468f339535f82cce2c0a79b92e74a7c09.tar.gz dwm-39ed54a468f339535f82cce2c0a79b92e74a7c09.tar.bz2 |
simplified configurerequest to a bare minimum, removed wrong ban() calls
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -184,16 +184,9 @@ configurerequest(XEvent *e) { 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); |