summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2016-08-20 22:39:34 +0200
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-08-22 11:08:36 -0400
commit7720039ad169b87e58c9be48b9e3a69e8d57e0d5 (patch)
tree97fb0b27cd8297db0eeda9dd3e061db5f560d0cf
parent70125b9cff35a006c66c026c95f447c9852728ce (diff)
downloadenlightenment-7720039ad169b87e58c9be48b9e3a69e8d57e0d5.tar.gz
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>
-rw-r--r--src/bin/e_xkb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/e_xkb.c b/src/bin/e_xkb.c
index 1b4ecdc746..acabc51510 100644
--- a/src/bin/e_xkb.c
+++ b/src/bin/e_xkb.c
@@ -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);