--- rxvt-unicode/src/screen.C 2007/09/03 08:48:00 1.277 +++ rxvt-unicode/src/screen.C 2007/09/17 08:31:54 1.278 @@ -1887,16 +1887,14 @@ # endif XMapWindow (dpy, parent[0]); # endif + # 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