diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-02-16 16:38:40 +0100 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-16 16:38:40 +0100 |
commit | 6e22ccf7b1602b33624692eefd51b6398ffa5454 (patch) | |
tree | 98989e7a667a63908c72769e9d79b0f888864c88 /main.c | |
parent | 8a5f002c4182abf6dcaac354a3da04cc18830ad9 (diff) | |
download | dwm-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.c | 3 |
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) |