diff options
author | Diego Nieto Cid <dnietoc@gmail.com> | 2011-04-03 00:02:46 -0300 |
---|---|---|
committer | Diego Nieto Cid <dnietoc@gmail.com> | 2011-04-08 14:47:35 -0300 |
commit | 8582683290c390d8e5f551f35886eb2453f7f8e7 (patch) | |
tree | 02a0788bb5df15ddf08010e61b170e70d3848146 /console-client/xkb/xkb.h | |
parent | d6f6e1bf7e3eaacb2ce134e40737319e9cf306a8 (diff) |
Depend on X11 for string to keysym mappings.
* config.make.in (HAVE_X11,X11_CFLAGS,X11_LIBS,XKB_BASE): New variables.
* configure.in: Check for x11 module.
* console-client/Makefile (PC_KBD_SO_SRCS): Move XKB sources...
* console-client/Makefile (XKB_SRCS): ... here. New variable.
* console-client/Makefile (SRCS): Add $(XKB_SRCS).
* console-client/Makefile (LCLHDRS): Add xkb/xkb.h.
* console-client/Makefile (XKB_DATA_DIR): Removed variable.
* console-client/Makefile (pc_kbd.so.$(hurd-version)): Use patsubst.
Depend on XKB objects when HAVE_X11 = yes.
* console-client/Makefile (install): Depend on XKB datafiles when
HAVE_X11 = yes.
* console-client/Makefile (pc-kbd-CFLAGS): Set variable when
HAVE_X11 = yes
* console-client/Makefile ($(XKB_DATA_DIR),$(XKB_DATA_DIR)/%): Replaced
by...
* console-client/Makefile[HAVE_X11=yes]($(XKB_BASE),$(XKB_BASE)/%): ...
this targets.
* console-client/Makefile[HAVE_X11=yes](pc_kbd-LDLIBS): New variable.
* console-client/xkb/keysymdef.h: Removed file.
* console-client/xkb/ks_tables.h: Likewise.
* console-client/xkb/symname.c: Likewise.
* console-client/xkb/xkb.c: Include <X11/keysymdef.h>.
* console-client/xkb/compose.c: Likewise.
* console-client/xkb/xkb.h: Remove XStringToKeysym prototype.
Include <X11/Xlib.h>.
Diffstat (limited to 'console-client/xkb/xkb.h')
-rw-r--r-- | console-client/xkb/xkb.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/console-client/xkb/xkb.h b/console-client/xkb/xkb.h index 71c7803f..e13d5ddb 100644 --- a/console-client/xkb/xkb.h +++ b/console-client/xkb/xkb.h @@ -16,7 +16,7 @@ #include <errno.h> #include <argp.h> -//#include "kbd_driver.h" +#include <X11/Xlib.h> typedef int keycode_t; typedef unsigned int scancode_t; @@ -359,7 +359,6 @@ typedef struct xkb_indicator unsigned int KeySymToUcs4(int keysym); symbol compose_symbols (symbol symbol); error_t read_composefile (char *); -KeySym XStringToKeysym(char *s); struct keytype *keytype_find (char *name); void key_set_action (struct key *key, group_t group, int level, |