From 4b0779451d4e7dd05cb17ac7356bcd7271fb958e Mon Sep 17 00:00:00 2001 From: MorellThomas Date: Sun, 25 Aug 2024 14:34:02 +0200 Subject: [PATCH] Update comments from pull request --- lib/awful/layout/suit/spiral.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/awful/layout/suit/spiral.lua b/lib/awful/layout/suit/spiral.lua index e5005097d..45da66955 100644 --- a/lib/awful/layout/suit/spiral.lua +++ b/lib/awful/layout/suit/spiral.lua @@ -11,7 +11,7 @@ -- Grab environment we need local ipairs = ipairs local math = math -local tag = require("awful.tag") +local capi = { screen = screen } --- The spiral layout layoutbox icon. -- @beautiful beautiful.layout_spiral @@ -26,7 +26,7 @@ local tag = require("awful.tag") local spiral = {} local function do_spiral(p, is_spiral) - local t = p.tag or screen[p.screen].selected_tag + local t = p.tag or capi.screen[p.screen].selected_tag local wa = p.workarea local cls = p.clients local n = #cls