Browse Source

touch border

main
Anselm R. Garbe 17 years ago
parent
commit
ad2508f957
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      client.c

+ 1
- 1
client.c View File

@ -203,7 +203,7 @@ manage(Window w, XWindowAttributes *wa) {
XSelectInput(dpy, w,
StructureNotifyMask | PropertyChangeMask | EnterWindowMask);
grabbuttons(c, False);
c->border = wc.border_width = BORDERPX;
c->border = wc.border_width = (c->w == sw && c->h == sh) ? wa->border_width : BORDERPX;
XConfigureWindow(dpy, w, CWBorderWidth, &wc);
XSetWindowBorder(dpy, w, dc.norm[ColBorder]);
configure(c); /* propagates border_width, if size doesn't change */


Loading…
Cancel
Save