aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-16 16:38:40 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-16 16:38:40 +0100
commit6e22ccf7b1602b33624692eefd51b6398ffa5454 (patch)
tree98989e7a667a63908c72769e9d79b0f888864c88 /main.c
parent8a5f002c4182abf6dcaac354a3da04cc18830ad9 (diff)
downloaddwm-6e22ccf7b1602b33624692eefd51b6398ffa5454.tar.gz
removed ugly ban(), extended resize() that it only resets the size if necessary, added border_width commit to manage()
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 94041c0..5ed8981 100644
--- a/main.c
+++ b/main.c
@@ -41,7 +41,8 @@ static void
cleanup(void) {
close(STDIN_FILENO);
while(stack) {
- resize(stack, True);
+ if(stack->isbanned)
+ XMoveWindow(dpy, stack->win, stack->x, stack->y);
unmanage(stack);
}
if(dc.font.set)