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)
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 1b4ecdc74..acabc5151 100644
--- a/src/bin/e_xkb.c
+++ b/src/bin/e_xkb.c
@@ -219,7 +219,9 @@ _e_x_xkb_reconfig(void)
219 } 219 }
220 } 220 }
221 } 221 }
222#ifndef HAVE_WAYLAND_ONLY
222 skip_new_keyboard ++; 223 skip_new_keyboard ++;
224#endif
223 INF("SET XKB RUN: %s", eina_strbuf_string_get(buf)); 225 INF("SET XKB RUN: %s", eina_strbuf_string_get(buf));
224 ecore_exe_run(eina_strbuf_string_get(buf), NULL); 226 ecore_exe_run(eina_strbuf_string_get(buf), NULL);
225 eina_strbuf_free(buf); 227 eina_strbuf_free(buf);