e_xkb: add guard around skip_new_keyboard

skip_new_keyboard is not available if HAVE_WAYLAND_ONLY is defined.

Fixes:
src/bin/e_xkb.c: Dans la fonction ‘_e_x_xkb_reconfig’:
src/bin/e_xkb.c:216:4: erreur : ‘skip_new_keyboard’ undeclared (first use in this function)
    skip_new_keyboard ++;

Signed-off-by: Romain Naour <romain.naour@gmail.com>
This commit is contained in:
Romain Naour 2016-08-20 22:39:34 +02:00 committed by Mike Blumenkrantz
parent 70125b9cff
commit 7720039ad1
1 changed files with 2 additions and 0 deletions

View File

@ -219,7 +219,9 @@ _e_x_xkb_reconfig(void)
}
}
}
#ifndef HAVE_WAYLAND_ONLY
skip_new_keyboard ++;
#endif
INF("SET XKB RUN: %s", eina_strbuf_string_get(buf));
ecore_exe_run(eina_strbuf_string_get(buf), NULL);
eina_strbuf_free(buf);