forked from enlightenment/enlightenment
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:
parent
70125b9cff
commit
7720039ad1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue