diff options
author | Maxime Coste <mawww@kakoune.org> | 2020-06-05 13:00:52 +1000 |
---|---|---|
committer | Maxime Coste <mawww@kakoune.org> | 2020-06-05 13:00:52 +1000 |
commit | 21126d29895b84f58cbf446d067b733e8cbae969 (patch) | |
tree | 5cf93a6533d03addbaacc3fb28f2487a7a04b3a9 | |
parent | b4588de29229d4e5aaffc27a7ba92c027e38cbef (diff) |
Fix crash in normal_focus_last_active
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.
-rw-r--r-- | src/normal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c index fa4c7d6..eda7deb 100644 --- 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); } |