From b3f2396588a1e5f3f7570b0344eb7c43702d439b Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Thu, 6 Feb 2014 01:48:32 +0200 Subject: keysym: add function to test if a keysym is for a modifier Needed for compose. Signed-off-by: Ran Benita --- src/keysym.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/keysym.h') diff --git a/src/keysym.h b/src/keysym.h index e9374dc..ca2bd5e 100644 --- a/src/keysym.h +++ b/src/keysym.h @@ -59,6 +59,9 @@ xkb_keysym_is_upper(xkb_keysym_t keysym); bool xkb_keysym_is_keypad(xkb_keysym_t keysym); +bool +xkb_keysym_is_modifier(xkb_keysym_t keysym); + xkb_keysym_t xkb_keysym_to_upper(xkb_keysym_t ks); -- cgit v1.2.1