[client] all: refactor keybind code & functions

This commit is contained in:
Geoffrey McRae
2021-01-26 02:51:03 +11:00
parent e18f7d3365
commit 37b3a26b9c
5 changed files with 39 additions and 40 deletions

View File

@@ -55,7 +55,7 @@ void app_alert(LG_MsgAlert type, const char * fmt, ...)
free(buffer);
}
KeybindHandle app_registerKeybind(int sc, SuperEventFn callback, void * opaque)
KeybindHandle app_registerKeybind(int sc, KeybindFn callback, void * opaque)
{
// don't allow duplicate binds
if (g_state.bindings[sc])