From 4afc853d4fc7465290599326916a033808713be8 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Mon, 8 Apr 2019 05:53:59 +0100 Subject: [PATCH] Advertise ourselves as compton to X Signed-off-by: Yuxuan Shui --- src/compton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compton.c b/src/compton.c index 20adf6b..22ad9d9 100644 --- a/src/compton.c +++ b/src/compton.c @@ -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); }