summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index 37c36b7..b28b430 100644
--- a/ui.c
+++ b/ui.c
@@ -106,8 +106,9 @@ ui_init(int argc, char **argv, UiOpts opt)
None, argv, argc, &szhint);
*/
+ /* does setting the urgency hint auto-focus in ctwm? */
XSetWMProperties(dsp, win, NULL, NULL, argv, argc,
- &szhint, &(XWMHints) { .flags = InputHint, .input = 1 },
+ &szhint, &(XWMHints) { .flags = InputHint | XUrgencyHint, .input = 1 },
&(XClassHint) { "xmenu", "xmenu" });
gc = XCreateGC(dsp, win, 0, 0);