Commits

Jason Ryan committed 71d49cf

Fixed urgency hints

  • Participants
  • Parent commits 9d79cb8

Comments (0)

Files changed (1)

Build/dwm-patches/statuscolors-6.1.diff

  	if(setfocus) {
  		XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
  		XDeleteProperty(dpy, root, netatom[NetActiveWindow]);
-@@ -2040,8 +2079,11 @@
- 			wmh->flags &= ~XUrgencyHint;
- 			XSetWMHints(dpy, c->win, wmh);
- 		}
--		else
-+		else {
- 			c->isurgent = (wmh->flags & XUrgencyHint) ? True : False;
-+			if(c->isurgent)
-+				XSetWindowBorder(dpy, c->win, dc.colors[2][ColBorder].pixel);
-+		}
- 		if(wmh->flags & InputHint)
- 			c->neverfocus = !wmh->input;
- 		else