X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Ftint.c;h=e3fdb826d617eb6e50775e9b7593097676d59c26;hb=e100cb6f8db79e5b3d26c04a405625ca368ee1ea;hp=f5713dab662698b4c0c87357e4a0e9ff087e1a84;hpb=6125e8ac9c2c1ce704ade3180237000626be8fd0;p=chaz%2Ftint2 diff --git a/src/tint.c b/src/tint.c index f5713da..e3fdb82 100644 --- a/src/tint.c +++ b/src/tint.c @@ -583,7 +583,7 @@ void event_property_notify (XEvent *e) } else if (at == server.atom.WM_HINTS) { XWMHints* wmhints = XGetWMHints(server.dsp, win); - if (wmhints->flags & XUrgencyHint) { + if (wmhints && wmhints->flags & XUrgencyHint) { task_urgent = tsk; tick_urgent = 0; time_precision = 1;