Fix borders for scratchpad
This commit is contained in:
parent
ca3cf62435
commit
2ff154d1a3
2
dwm.c
2
dwm.c
@ -1287,7 +1287,7 @@ manage(Window w, XWindowAttributes *wa)
|
||||
if (!strcmp(c->name, scratchpadname)) {
|
||||
c->mon->tagset[c->mon->seltags] |= c->tags = scratchtag;
|
||||
c->isfloating = True;
|
||||
resize(c, 0, 0, c->mon->mw, c->h, 0);
|
||||
resize(c, 0, 0, c->mon->mw - borderpx * 2, c->h - borderpx * 2, 0);
|
||||
}
|
||||
|
||||
wc.border_width = c->bw;
|
||||
|
Loading…
Reference in New Issue
Block a user