From afeee3e5783916f2860d1ab30b17d89b11abccb7 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 26 Mar 2013 22:13:31 -0700 Subject: [PATCH] * configure.ac (HAVE_XKBGETKEYBOARD): Remove; subsumed by HAVE_XKB. All uses changed. --- ChangeLog | 5 +++++ admin/CPP-DEFINES | 1 - configure.ac | 1 - src/xfns.c | 10 +++++----- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 500c85d2350..d245f6e2f9b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-03-27 Paul Eggert + + * configure.ac (HAVE_XKBGETKEYBOARD): Remove. + Subsumed by HAVE_XKB. All uses changed. + 2013-03-27 Aidan Gauland #include #endif @@ -5605,7 +5605,9 @@ usual X keysyms. Value is `lambda' if we cannot determine if both keys are present and mapped to the usual X keysyms. */) (Lisp_Object frame) { -#ifdef HAVE_XKBGETKEYBOARD +#ifndef HAVE_XKB + return Qlambda; +#else XkbDescPtr kb; struct frame *f = check_x_frame (frame); Display *dpy = FRAME_X_DISPLAY (f); @@ -5683,9 +5685,7 @@ present and mapped to the usual X keysyms. */) } unblock_input (); return have_keys; -#else /* not HAVE_XKBGETKEYBOARD */ - return Qlambda; -#endif /* not HAVE_XKBGETKEYBOARD */ +#endif } -- 2.39.2