Update widget.lua

This commit is contained in:
Emmanuel Lepage Vallée 2018-12-17 09:37:08 -05:00 committed by actionless
parent e55cc7c912
commit 7231087bdb
1 changed files with 2 additions and 2 deletions

View File

@ -451,8 +451,8 @@ function widget.new(args)
}) })
mywibox:set_widget(pages[1]) mywibox:set_widget(pages[1])
mywibox:buttons(gtable.join( mywibox:buttons(gtable.join(
awful.button({ }, 1, function () mywibox.visible=false awful.keygrabber:stop() end), awful.button({ }, 1, function () mywibox.visible=false awful.keygrabber.stop() end),
awful.button({ }, 3, function () mywibox.visible=false awful.keygrabber:stop() end) awful.button({ }, 3, function () mywibox.visible=false awful.keygrabber.stop() end)
)) ))
local widget_obj = {} local widget_obj = {}