Raise on click in task-list
This commit is contained in:
parent
66a5d9cd45
commit
e232f85349
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue