summaryrefslogtreecommitdiffstats
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
parentremoved getnext/getprev, redundant (diff)
downloaddwm-6e22ccf7b1602b33624692eefd51b6398ffa5454.tar.gz
dwm-6e22ccf7b1602b33624692eefd51b6398ffa5454.zip
removed ugly ban(), extended resize() that it only resets the size if necessary, added border_width commit to manage()
Diffstat (limited to '')
-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
41cleanup(void) { 41cleanup(void) {
42 close(STDIN_FILENO); 42 close(STDIN_FILENO);
43 while(stack) { 43 while(stack) {
44 resize(stack, True); 44 if(stack->isbanned)
45 XMoveWindow(dpy, stack->win, stack->x, stack->y);
45 unmanage(stack); 46 unmanage(stack);
46 } 47 }
47 if(dc.font.set) 48 if(dc.font.set)