From 998c957a3c7c861093f3f71f34989c258ed3073b Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Tue, 30 Oct 2012 18:21:56 +0200 Subject: action: don't allow private actions with a known type Some obscure bug having to do with Private actions; see the comments. This was prompted by: https://bugs.freedesktop.org/show_bug.cgi?id=56491 Signed-off-by: Ran Benita --- src/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/text.c') diff --git a/src/text.c b/src/text.c index bb56b12..8edc0e3 100644 --- a/src/text.c +++ b/src/text.c @@ -279,7 +279,7 @@ ModNameToIndex(const struct xkb_keymap *keymap, xkb_atom_t name, } const char * -ActionTypeText(unsigned type) +ActionTypeText(enum xkb_action_type type) { const char *name = LookupValue(actionTypeNames, type); return name ? name : "Private"; -- cgit v1.2.3