From ec82b6e86973e36e7bc36a1234d6c82050e20328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Wed, 27 Apr 2022 12:13:20 +0200 Subject: [PATCH] keybindings: Use proper enum type in MetaKeyHandler This simplifies inspecting runtime state using gdb. Part-of: --- src/core/keybindings-private.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/keybindings-private.h b/src/core/keybindings-private.h index 56792c200..fcab90a1f 100644 --- a/src/core/keybindings-private.h +++ b/src/core/keybindings-private.h @@ -39,7 +39,8 @@ struct _MetaKeyHandler char *name; MetaKeyHandlerFunc func; MetaKeyHandlerFunc default_func; - gint data, flags; + int data; + MetaKeyBindingFlags flags; gpointer user_data; GDestroyNotify user_data_free_func; };