no keygrabber in menubar needed
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
200a5272fa
commit
3901369410
|
@ -20,7 +20,6 @@ local tonumber = tonumber
|
||||||
local string = string
|
local string = string
|
||||||
local mouse = mouse
|
local mouse = mouse
|
||||||
local math = math
|
local math = math
|
||||||
local keygrabber = keygrabber
|
|
||||||
local wibox = require("wibox")
|
local wibox = require("wibox")
|
||||||
|
|
||||||
module("menubar")
|
module("menubar")
|
||||||
|
@ -246,7 +245,6 @@ end
|
||||||
|
|
||||||
--- Hide the menubar.
|
--- Hide the menubar.
|
||||||
function hide()
|
function hide()
|
||||||
keygrabber.stop()
|
|
||||||
instance.wibox.visible = false
|
instance.wibox.visible = false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue