Skip to content

Commit

Permalink
Add WM_CLASS ATOM for compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
tryone144 committed Jun 8, 2016
1 parent 9d2cb7f commit ec96ed5
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 @@ -766,6 +766,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");
}
}

Expand Down

0 comments on commit ec96ed5

Please sign in to comment.