mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
gitmodules: Update libnkutils
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
b5f1e97e0f
commit
1243dca65b
3 changed files with 7 additions and 4 deletions
|
@ -129,7 +129,6 @@ config_h = configure_file(output: 'config.h', configuration: header_conf)
|
||||||
|
|
||||||
nk_options = [
|
nk_options = [
|
||||||
'bindings=true',
|
'bindings=true',
|
||||||
'xdg-theme=true',
|
|
||||||
'git-work-tree=@0@'.format(meson.source_root()),
|
'git-work-tree=@0@'.format(meson.source_root()),
|
||||||
]
|
]
|
||||||
nk = subproject('libnkutils', default_options: nk_options)
|
nk = subproject('libnkutils', default_options: nk_options)
|
||||||
|
|
|
@ -448,7 +448,9 @@ gboolean parse_keys_abe(NkBindings *bindings) {
|
||||||
entry = strtok_r(NULL, sep, &sp)) {
|
entry = strtok_r(NULL, sep, &sp)) {
|
||||||
if (!nk_bindings_add_binding(bindings, b->scope, entry,
|
if (!nk_bindings_add_binding(bindings, b->scope, entry,
|
||||||
binding_check_action, binding_trigger_action,
|
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 &&
|
if (error->code == NK_BINDINGS_ERROR_ALREADY_REGISTERED &&
|
||||||
error->domain == NK_BINDINGS_ERROR) {
|
error->domain == NK_BINDINGS_ERROR) {
|
||||||
char *str = g_markup_printf_escaped(
|
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) {
|
for (gsize j = 1; j < G_N_ELEMENTS(mouse_default_bindings); ++j) {
|
||||||
nk_bindings_add_binding(bindings, i, mouse_default_bindings[j],
|
nk_bindings_add_binding(bindings, i, mouse_default_bindings[j],
|
||||||
binding_check_action, binding_trigger_action,
|
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
|
Loading…
Reference in a new issue