From b64dd42f309dcb2ba1a07bcd06df74573c5239ba Mon Sep 17 00:00:00 2001 From: Bernd Busse Date: Wed, 8 Jun 2016 11:41:58 +0200 Subject: [PATCH] Add WM_CLASS atom --- lemonbar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lemonbar.c b/lemonbar.c index f1b7886..8044b41 100644 --- a/lemonbar.c +++ b/lemonbar.c @@ -765,6 +765,7 @@ set_ewmh_atoms (void) xcb_change_property(c, XCB_PROP_MODE_REPLACE, mon->window, atom_list[NET_WM_STRUT_PARTIAL], XCB_ATOM_CARDINAL, 32, 12, strut); xcb_change_property(c, XCB_PROP_MODE_REPLACE, mon->window, atom_list[NET_WM_STRUT], XCB_ATOM_CARDINAL, 32, 4, strut); xcb_change_property(c, XCB_PROP_MODE_REPLACE, mon->window, XCB_ATOM_WM_NAME, XCB_ATOM_STRING, 8, 3, "bar"); + xcb_change_property(c, XCB_PROP_MODE_REPLACE, mon->window, XCB_ATOM_WM_CLASS, XCB_ATOM_STRING, 8, 3, "bar"); } }