You are not logged in.

#1 2020-03-12 12:52:51

oblin
Member
Registered: 2020-03-12
Posts: 2

AwesomeWM. How to make a awful.menu close when mouse leave it?

Hi,

I tried add signal to the menu.wibox or menu:get_root().wibox

mymainmenu:get_root().wibox:connect_signal("mouse::leave", function(c)
    mymainmenu:hide()
end)

But in this case, menu closes when mouse leave the first main menu even if hover over a submenu. Is it possible to set a specific signal on the entire menu?

p.s. Weird, but I did not find any setting to automatically closing the menu in the documentation

Offline

Board footer

Powered by FluxBB