From e232f85349e84cf39fac45f56b773085a6d31679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Sun, 3 Sep 2023 12:24:47 +0200 Subject: [PATCH] Raise on click in task-list --- awesome/components/widgets/task-list.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awesome/components/widgets/task-list.lua b/awesome/components/widgets/task-list.lua index 5f01519..e636c2a 100644 --- a/awesome/components/widgets/task-list.lua +++ b/awesome/components/widgets/task-list.lua @@ -40,7 +40,8 @@ local function create_buttons(buttons, object) local btn = capi.button {modifiers = b.modifiers, button = b.button} btn:connect_signal('press', function() - object.minimized = not object.minimized + object.minimized = false + object:raise() end ) btns[#btns + 1] = btn