forcing fullscreen windows to bw=0, though most fullscreen apps are broken anyways
authorAnselm R Garbe <garbeam@gmail.com>
Tue, 29 Jul 2008 10:32:22 +0000 (11:32 +0100)
committerAnselm R Garbe <garbeam@gmail.com>
Tue, 29 Jul 2008 10:32:22 +0000 (11:32 +0100)
dwm.c

diff --git a/dwm.c b/dwm.c
index 52bb9f1..5f3b9c9 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -904,7 +904,7 @@ manage(Window w, XWindowAttributes *wa) {
        if(c->w == sw && c->h == sh) {
                c->x = sx;
                c->y = sy;
-               c->bw = wa->border_width;
+               c->bw = 0;
        }
        else {
                if(c->x + c->w + 2 * c->bw > sx + sw)