about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--dwm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index 4782343..b0d99c0 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1809,6 +1809,7 @@ updatebars(void)
 		.background_pixmap = ParentRelative,
 		.event_mask = ButtonPressMask|ExposureMask
 	};
+	XClassHint ch = {"dwm", "dwm"};
 	for (m = mons; m; m = m->next) {
 		if (m->barwin)
 			continue;
@@ -1817,6 +1818,7 @@ updatebars(void)
 				CWOverrideRedirect|CWBackPixmap|CWEventMask, &wa);
 		XDefineCursor(dpy, m->barwin, cursor[CurNormal]->cursor);
 		XMapRaised(dpy, m->barwin);
+		XSetClassHint(dpy, m->barwin, &ch);
 	}
 }
 
03bffc595946071f3'>a4ca6291 ^
3ae74fea ^
a4ca6291 ^
3ae74fea ^



a4ca6291 ^
3ae74fea ^




a4ca6291 ^
3ae74fea ^
f9737251 ^











3ae74fea ^

107fdd35 ^

3ae74fea ^
3ae74fea ^
a2726b6a ^


3ae74fea ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44