gitmodules: Update libnkutils

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Quentin Glidic 2023-09-25 18:04:32 +02:00
parent b5f1e97e0f
commit 1243dca65b
No known key found for this signature in database
GPG Key ID: AC203F96E2C34BB7
3 changed files with 7 additions and 4 deletions

View File

@ -129,7 +129,6 @@ config_h = configure_file(output: 'config.h', configuration: header_conf)
nk_options = [
'bindings=true',
'xdg-theme=true',
'git-work-tree=@0@'.format(meson.source_root()),
]
nk = subproject('libnkutils', default_options: nk_options)

View File

@ -448,7 +448,9 @@ gboolean parse_keys_abe(NkBindings *bindings) {
entry = strtok_r(NULL, sep, &sp)) {
if (!nk_bindings_add_binding(bindings, b->scope, entry,
binding_check_action, binding_trigger_action,
GUINT_TO_POINTER(b->id), NULL, &error)) {
GUINT_TO_POINTER(b->id), NULL,
NK_BINDINGS_ADD_FLAG_NONE,
&error)) {
if (error->code == NK_BINDINGS_ERROR_ALREADY_REGISTERED &&
error->domain == NK_BINDINGS_ERROR) {
char *str = g_markup_printf_escaped(
@ -485,7 +487,9 @@ gboolean parse_keys_abe(NkBindings *bindings) {
for (gsize j = 1; j < G_N_ELEMENTS(mouse_default_bindings); ++j) {
nk_bindings_add_binding(bindings, i, mouse_default_bindings[j],
binding_check_action, binding_trigger_action,
GSIZE_TO_POINTER(j), NULL, NULL);
GSIZE_TO_POINTER(j), NULL,
NK_BINDINGS_ADD_FLAG_NONE,
NULL);
}
}

@ -1 +1 @@
Subproject commit 09ca429c08530ddb50ba1029f98ca14da7b0b7fa
Subproject commit 72bd7fb07f627a864e724639eea9fab6cccbd77c