Skip to content

Commit

Permalink
Set WM_CLASS atom
Browse files Browse the repository at this point in the history
  • Loading branch information
LemonBoy committed May 29, 2021
1 parent 313481e commit 1d070b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lemonbar.c
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,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, 12, "lemonbar\0Bar");
}
}

Expand Down

0 comments on commit 1d070b8

Please sign in to comment.