From 403ee5284a70f778b379041c169f72a7586c59ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 8 Sep 2014 17:11:50 +0200 Subject: Fix repeat command Some movements depend on a global action, therefore restore it when repeating an action. --- config.def.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index 32aca77..f93bbac 100644 --- a/config.def.h +++ b/config.def.h @@ -275,7 +275,8 @@ void action_do(Action *a); void action_reset(Action *a); static void repeat(const Arg *arg) { - action_do(&action_prev); + action = action_prev; + action_do(&action); } static void count(const Arg *arg) { -- cgit v1.2.3