]> git.sur5r.net Git - i3/i3/commitdiff
root is externally declared
authorOrestis Floros <orestisf1993@gmail.com>
Wed, 3 Oct 2018 13:20:46 +0000 (16:20 +0300)
committerOrestis Floros <orestisf1993@gmail.com>
Sat, 13 Oct 2018 18:10:10 +0000 (21:10 +0300)
src/bindings.c

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