---
dwm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dwm.c b/dwm.c
index 3d6cc28..85ec75e 100644
--- a/dwm.c
+++ b/dwm.c
@@ -2020,7 +2020,7 @@ updatewmhints(Client *c)
wmh->flags &= ~XUrgencyHint;
XSetWMHints(dpy, c->win, wmh);
} else
- c->isurgent = (wmh->flags & XUrgencyHint) ? 1 : 0;
+ c->isurgent = !!(wmh->flags & XUrgencyHint);
if (wmh->flags & InputHint)
c->neverfocus = !wmh->input;
else
--
2.7.3- [hackers] [dwm] [PATCH] get rid of unnecessary ternary ope... Markus Teich
- Re: [hackers] [dwm] [PATCH] get rid of unnecessary te... Anselm R Garbe
- Re: [hackers] [dwm] [PATCH] get rid of unnecessar... Laslo Hunhold
- Re: [hackers] [dwm] [PATCH] get rid of unnece... Hiltjo Posthuma
- Re: [hackers] [dwm] [PATCH] get rid of un... Laslo Hunhold
- Re: [hackers] [dwm] [PATCH] get rid of un... Evan Gates
- Re: [hackers] [dwm] [PATCH] get rid of unnecessar... Markus Teich
- Re: [hackers] [dwm] [PATCH] get rid of unnece... Anselm R Garbe
