Selaa lähdekoodia

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

Anselm R Garbe 17 vuotta sitten
vanhempi
commit
4a2902efe4
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      dwm.c

+ 1 - 1
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)