---
dwm.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dwm.c b/dwm.c
index 4782343..f2ce061 100644
--- a/dwm.c
+++ b/dwm.c
_AT_@ -1809,6 +1809,9 @@ updatebars(void)
.background_pixmap = ParentRelative,
.event_mask = ButtonPressMask|ExposureMask
};
+ XClassHint *ch = XAllocClassHint();
+ ch->res_name = "dwmstatus";
+ ch->res_class = "dwm";
for (m = mons; m; m = m->next) {
if (m->barwin)
continue;
_AT_@ -1817,7 +1820,9 @@ updatebars(void)
CWOverrideRedirect|CWBackPixmap|CWEventMask, &wa);
XDefineCursor(dpy, m->barwin, cursor[CurNormal]->cursor);
XMapRaised(dpy, m->barwin);
+ XSetClassHint(dpy, m->barwin, ch);
}
+ XFree(ch);
}
void
--
2.15.0
Received on Thu Nov 02 2017 - 10:00:04 CET
This archive was generated by hypermail 2.3.0 : Thu Nov 02 2017 - 10:12:20 CET