Sfoglia il codice sorgente

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

Anselm R Garbe 17 anni fa
parent
commit
4a2902efe4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)