]> Dogcows Code - chaz/tint2/blobdiff - src/tint.c
*fix* Check wmhints for NULL
[chaz/tint2] / src / tint.c
index f5713dab662698b4c0c87357e4a0e9ff087e1a84..e3fdb826d617eb6e50775e9b7593097676d59c26 100644 (file)
@@ -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;
This page took 0.020091 seconds and 4 git commands to generate.