root is externally declared

This commit is contained in:
Orestis Floros 2018-10-03 16:20:46 +03:00
parent 052e96d323
commit 4219eb213b
No known key found for this signature in database
GPG Key ID: E9AD9F32E401E38F
1 changed files with 0 additions and 2 deletions

View File

@ -859,8 +859,6 @@ static int fill_rmlvo_from_root(struct xkb_rule_names *xkb_names) {
xcb_intern_atom_reply_t *atom_reply; xcb_intern_atom_reply_t *atom_reply;
size_t content_max_words = 256; size_t content_max_words = 256;
xcb_window_t root = root_screen->root;
atom_reply = xcb_intern_atom_reply( atom_reply = xcb_intern_atom_reply(
conn, xcb_intern_atom(conn, 0, strlen("_XKB_RULES_NAMES"), "_XKB_RULES_NAMES"), NULL); conn, xcb_intern_atom(conn, 0, strlen("_XKB_RULES_NAMES"), "_XKB_RULES_NAMES"), NULL);
if (atom_reply == NULL) if (atom_reply == NULL)