From e04f789317cfe43cd7633a22f970f7440c53b663 Mon Sep 17 00:00:00 2001 From: Nooo37 Date: Fri, 27 Aug 2021 21:34:45 +0200 Subject: [PATCH] fixup --- module/tabbed.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/tabbed.lua b/module/tabbed.lua index e267e87..db82716 100644 --- a/module/tabbed.lua +++ b/module/tabbed.lua @@ -200,7 +200,8 @@ end tabbed.switch_to = function(tabobj, new_idx) local old_focused_c = tabobj.clients[tabobj.focused_idx] tabobj.focused_idx = new_idx - helpers.client.turn_on(tabobj.clients[new_idx]) + local c = tabobj.clients[new_idx] + helpers.client.turn_on(c) c:raise() if old_focused_c and old_focused_c.valid then c:swap(old_focused_c)