… | |
… | |
1729 | } |
1729 | } |
1730 | #endif |
1730 | #endif |
1731 | #if ENABLE_FRILLS |
1731 | #if ENABLE_FRILLS |
1732 | if (option (Opt_urgentOnBell)) |
1732 | if (option (Opt_urgentOnBell)) |
1733 | { |
1733 | { |
1734 | XWMHints *h; |
|
|
1735 | |
|
|
1736 | h = XGetWMHints(dpy, parent[0]); |
1734 | if (XWMHints *h = XGetWMHints(dpy, parent[0])) |
1737 | if (h != NULL) |
|
|
1738 | { |
1735 | { |
1739 | h->flags &= ~XUrgencyHint; |
1736 | h->flags &= ~XUrgencyHint; |
1740 | XSetWMHints(dpy, parent[0], h); |
1737 | XSetWMHints (dpy, parent[0], h); |
1741 | } |
1738 | } |
1742 | } |
1739 | } |
1743 | #endif |
1740 | #endif |
1744 | } |
1741 | } |
1745 | } |
1742 | } |