sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

dwm-6.1-min-border.diff (360B)


      1 diff --git a/dwm.c b/dwm.c
      2 index 4465af1..6610199 100644
      3 --- a/dwm.c
      4 +++ b/dwm.c
      5 @@ -1233,6 +1233,8 @@ propertynotify(XEvent *e)
      6  		case XA_WM_HINTS:
      7  			updatewmhints(c);
      8  			drawbars();
      9 +			if (c->isurgent)
     10 +				XSetWindowBorder(dpy, c->win, scheme[SchemeSel][ColFg].pixel);
     11  			break;
     12  		}
     13  		if (ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {