- do not process focus events caused by grabs
(patch by Mikachu).
- better option handling, support more than 30 options (exg).
+ - add urgentOnBell resource to set the urgency hint
+ (patch by Philip Paeps).
8.2 Sat Feb 17 21:35:28 CET 2007
- fix make depend in src/, reported by exg.
MWM-hints
EWMH-hints (pid, utf8 names) and protocols (ping)
+ urgency hint
seperate underline colour (-underlineColor)
settable border widths and borderless switch (-w, -b, -bl)
visual depth selection (-depth)
B<True>: de-iconify (map) on receipt of a bell character. B<False>: no
de-iconify (map) on receipt of a bell character [default].
+=item B<urgentOnBell:> I<boolean>
+
+B<True>: set the urgency hint for the wm on receipt of a bell character.
+B<False>: do not set the urgency hint [default].
+
=item B<visualBell:> I<boolean>
B<True>: use visual bell on receipt of a bell character; option B<-vb>.
pix_colors = pix_colors_focused;
scr_recolour ();
}
+#endif
+#if ENABLE_FRILLS
+ if (option (Opt_urgentOnBell))
+ {
+ XWMHints *h;
+
+ h = XGetWMHints(dpy, parent[0]);
+ if (h != NULL)
+ {
+ h->flags &= ~XUrgencyHint;
+ XSetWMHints(dpy, parent[0], h);
+ }
+ }
#endif
}
}
def(hold, 26) // hold window open after exit
def(override_redirect, 27)
def(skipBuiltinGlyphs, 28) // do not use internal glyphs
+ def(urgentOnBell, 30)
#else
nodef(insecure)
nodef(borderLess)
nodef(hold)
nodef(override_redirect)
nodef(skipBuiltinGlyphs)
+ nodef(urgentOnBell)
#endif
#if ENABLE_STYLES
def(intensityStyles, 29) // font styles imply intensity
def (lineSpace)
def (cursorUnderline)
def (skipBuiltinGlyphs)
+ def (urgentOnBell)
#endif
#if CURSOR_BLINK
def (cursorBlink)
# endif
XMapWindow (dpy, parent[0]);
# endif
+# if ENABLE_FRILLS
+ if (option (Opt_urgentOnBell))
+ {
+ XWMHints *h;
+
+ h = XGetWMHints(dpy, parent[0]);
+ if (h != NULL)
+ {
+ h->flags |= XUrgencyHint;
+ XSetWMHints(dpy, parent[0], h);
+ }
+ }
+# endif
if (option (Opt_visualBell))
{
#endif
BOOL (Rs_utmpInhibit, "utmpInhibit", "ut", Opt_utmpInhibit, 0, "utmp inhibit"),
#ifndef NO_BELL
+# if ENABLE_FRILLS
+ BOOL (Rs_urgentOnBell, "urgentOnBell", NULL, Opt_urgentOnBell, 0, "set the urgency hint for the wm on bell"),
+# endif
BOOL (Rs_visualBell, "visualBell", "vb", Opt_visualBell, 0, "visual bell"),
# if ! defined(NO_MAPALERT) && defined(MAPALERT_OPTION)
BOOL (Rs_mapAlert, "mapAlert", NULL, Opt_mapAlert, 0, NULL),