forcing fullscreen windows to bw=0, though most fullscreen apps are broken anyways

This commit is contained in:
Anselm R Garbe 2008-07-29 11:32:22 +01:00
parent 6fad4c49f1
commit 4a2902efe4

2
dwm.c
View file

@ -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)