discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=7720039ad169b87e58c9be48b9e3a69e8d57e0d5

commit 7720039ad169b87e58c9be48b9e3a69e8d57e0d5
Author: Romain Naour <romain.na...@gmail.com>
Date:   Sat Aug 20 22:39:34 2016 +0200

    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.na...@gmail.com>
---
 src/bin/e_xkb.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_xkb.c b/src/bin/e_xkb.c
index 1b4ecdc..acabc51 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);

-- 


Reply via email to