… | |
… | |
1885 | # ifdef MAPALERT_OPTION |
1885 | # ifdef MAPALERT_OPTION |
1886 | if (option (Opt_mapAlert)) |
1886 | if (option (Opt_mapAlert)) |
1887 | # endif |
1887 | # endif |
1888 | XMapWindow (dpy, parent[0]); |
1888 | XMapWindow (dpy, parent[0]); |
1889 | # endif |
1889 | # endif |
|
|
1890 | |
1890 | # if ENABLE_FRILLS |
1891 | # if ENABLE_FRILLS |
1891 | if (option (Opt_urgentOnBell)) |
1892 | if (option (Opt_urgentOnBell)) |
1892 | { |
1893 | { |
1893 | XWMHints *h; |
|
|
1894 | |
|
|
1895 | h = XGetWMHints(dpy, parent[0]); |
1894 | if (XWMHints *h = XGetWMHints(dpy, parent[0])) |
1896 | if (h != NULL) |
|
|
1897 | { |
1895 | { |
1898 | h->flags |= XUrgencyHint; |
1896 | h->flags |= XUrgencyHint; |
1899 | XSetWMHints(dpy, parent[0], h); |
1897 | XSetWMHints (dpy, parent[0], h); |
1900 | } |
1898 | } |
1901 | } |
1899 | } |
1902 | # endif |
1900 | # endif |
1903 | |
1901 | |
1904 | if (option (Opt_visualBell)) |
1902 | if (option (Opt_visualBell)) |