Advertise ourselves as compton to X
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
abeeb36bb2
commit
4afc853d4f
|
@ -1084,9 +1084,9 @@ static bool register_cm(session_t *ps) {
|
|||
XClassHint *h = XAllocClassHint();
|
||||
if (h) {
|
||||
h->res_name = "compton";
|
||||
h->res_class = "xcompmgr";
|
||||
h->res_class = "compton";
|
||||
}
|
||||
Xutf8SetWMProperties(ps->dpy, ps->reg_win, "xcompmgr", "xcompmgr", NULL,
|
||||
Xutf8SetWMProperties(ps->dpy, ps->reg_win, "compton", "compton", NULL,
|
||||
0, NULL, NULL, h);
|
||||
cxfree(h);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue