projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4588de
)
Fix crash in normal_focus_last_active
author
Maxime Coste
<mawww@kakoune.org>
Fri, 5 Jun 2020 03:00:52 +0000
(13:00 +1000)
committer
Maxime Coste
<mawww@kakoune.org>
Fri, 5 Jun 2020 03:00:52 +0000
(13:00 +1000)
g_variant_get was missing a parameter for the string element of
the variant tuple, pass NULL there as we dont care about that value.
src/normal.c
patch
|
blob
|
history
diff --git
a/src/normal.c
b/src/normal.c
index
fa4c7d6
..
eda7deb
100644
(file)
--- a/
src/normal.c
+++ b/
src/normal.c
@@
-450,7
+450,7
@@
static VbResult normal_focus_last_active(Client *c, const NormalCmdInfo *info)
gboolean focused;
variant = ext_proxy_eval_script_sync(c, "vimb_input_mode_element.focus();");
- g_variant_get(variant, "(bs)", &focused);
+ g_variant_get(variant, "(bs)", &focused
, NULL
);
if (!focused) {
ext_proxy_focus_input(c);
}