fix(awful: widget: calendar_popup): hover was not working anymore if hiding popup by clicking on it

This commit is contained in:
actionless 2017-09-01 22:43:07 +02:00
parent 02f894ce0c
commit 23613bac05
1 changed files with 8 additions and 2 deletions

View File

@ -332,8 +332,14 @@ local function get_cal_wibox(caltype, args)
ret:set_widget(widget)
ret:buttons(gears.table.join(
abutton({ }, 1, function () ret.visible=false end),
abutton({ }, 3, function () ret.visible=false end),
abutton({ }, 1, function ()
ret.visible=false
ret._calendar_clicked=false
end),
abutton({ }, 3, function ()
ret.visible=false
ret._calendar_clicked=false
end),
abutton({ }, 4, function () ret:call_calendar(-1) end),
abutton({ }, 5, function () ret:call_calendar( 1) end)
))