--- rxvt-unicode/src/command.C 2007/09/14 09:46:18 1.355 +++ rxvt-unicode/src/command.C 2007/09/17 08:31:54 1.356 @@ -1731,13 +1731,10 @@ #if ENABLE_FRILLS if (option (Opt_urgentOnBell)) { - XWMHints *h; - - h = XGetWMHints(dpy, parent[0]); - if (h != NULL) + if (XWMHints *h = XGetWMHints(dpy, parent[0])) { h->flags &= ~XUrgencyHint; - XSetWMHints(dpy, parent[0], h); + XSetWMHints (dpy, parent[0], h); } } #endif