From d2fbf3c11fb10c2b76455df2a718a8c8d88bf16d Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 5 Jan 2023 16:14:52 +0100 Subject: utils: add logging functions --- workspace.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'workspace.lua') diff --git a/workspace.lua b/workspace.lua index 9da5e4a..26e2e47 100644 --- a/workspace.lua +++ b/workspace.lua @@ -113,7 +113,7 @@ function Workspace:view(screen, desktop_idx, page_idx) -- take the topmost free one page_idx = desktop.indices_free:pop() if page_idx == nil then - print("No free pages on desktop") + utils.warn('Workspace', 'No free pages on desktop %d', desktop_idx) return end else -- cgit v1.2.3