Set some more atoms for _NET_SUPPORTED (Thanks lexszero)
This commit is contained in:
@ -514,7 +514,7 @@ int main(int argc, char *argv[], char *env[]) {
|
||||
|
||||
/* Set up the atoms we support */
|
||||
check_error(conn, xcb_change_property_checked(conn, XCB_PROP_MODE_REPLACE, root, atoms[_NET_SUPPORTED],
|
||||
ATOM, 32, 7, atoms), "Could not set _NET_SUPPORTED");
|
||||
ATOM, 32, 16, atoms), "Could not set _NET_SUPPORTED");
|
||||
/* Set up the window manager’s name */
|
||||
xcb_change_property(conn, XCB_PROP_MODE_REPLACE, root, atoms[_NET_SUPPORTING_WM_CHECK], WINDOW, 32, 1, &root);
|
||||
xcb_change_property(conn, XCB_PROP_MODE_REPLACE, root, atoms[_NET_WM_NAME], atoms[UTF8_STRING], 8, strlen("i3"), "i3");
|
||||
|
Reference in New Issue
Block a user