xcb: use predefined XCB_ATOM_ atoms, don’t request them

This commit is contained in:
Michael Stapelberg
2011-08-17 01:41:19 +02:00
parent c8e6de1382
commit 7951445849
8 changed files with 27 additions and 26 deletions

View File

@ -534,7 +534,7 @@ update_netwm_state:
values[num++] = A__NET_WM_STATE_FULLSCREEN;
xcb_change_property(conn, XCB_PROP_MODE_REPLACE, con->window->id,
A__NET_WM_STATE, A_ATOM, 32, num, values);
A__NET_WM_STATE, XCB_ATOM_ATOM, 32, num, values);
}
/*