From 21126d29895b84f58cbf446d067b733e8cbae969 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 5 Jun 2020 13:00:52 +1000 Subject: [PATCH] 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. --- src/normal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.20.1