Raise on click in task-list

This commit is contained in:
Thomas Avé 2023-09-03 12:24:47 +02:00
parent 66a5d9cd45
commit e232f85349
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,8 @@ local function create_buttons(buttons, object)
local btn = capi.button {modifiers = b.modifiers, button = b.button} local btn = capi.button {modifiers = b.modifiers, button = b.button}
btn:connect_signal('press', btn:connect_signal('press',
function() function()
object.minimized = not object.minimized object.minimized = false
object:raise()
end end
) )
btns[#btns + 1] = btn btns[#btns + 1] = btn