Open ShadowKyogre opened 8 years ago
Found out that I did have to use the mousegrabber to completely prevent the right click from accidentally being passed down (but only for chromium, this passes the bug over to windows that used to behave properly before). Leaving this open since I'm not sure if that's intended behavior.
clientbuttons = awful.util.table.join(
awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
awful.button({ modkey }, 1, awful.mouse.client.move),
awful.button({ modkey }, 2, awful.mouse.client.resize),
awful.button({ modkey }, 3, function (c)
mousegrabber.run(function (_mouse) return true end, 'left_ptr')
if client_actions then
client_actions:hide()
client_actions = nil
else
client_actions = create_client_actions_menu(c)
client_actions:show()
end
mousegrabber.stop()
end
)
)
My rc.lua, with the relevant sections highlighted: https://gist.github.com/ShadowKyogre/ec304a3b226cc17ea84d#file-rc-lua-L377-L399
Steps to recreate:
Expected result: Window action menu pops up without Chromium's right-click menu. That menu, for now, only has "Minimize".
Actual result: Window action menu is obscured by Chromium's right-click menu.