Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quitting awesome via the right-click-on-root menu stopped working #1197

Closed
psychon opened this issue Oct 29, 2016 · 0 comments
Closed

Quitting awesome via the right-click-on-root menu stopped working #1197

psychon opened this issue Oct 29, 2016 · 0 comments
Milestone

Comments

@psychon
Copy link
Member

psychon commented Oct 29, 2016

Commit d71bb66 added argument handling to awesome.quit. When run by awful.menu, the incorrect arguments that were previously just ignored now cause an error:

2016-10-29 13:54:48 W: awesome: luaA_dofunction:77: error while running function!
stack traceback:
    [C]: in function 'cmd'
    lib/awful/menu.lua:301: in function 'exec'
    lib/awful/menu.lua:441: in function 'press'
    lib/awful/button.lua:46: in function <lib/awful/button.lua:46>
    [C]: in function 'emit_signal'
    lib/wibox/widget/base.lua:367: in function <lib/wibox/widget/base.lua:334>
    (...tail calls...)
    lib/gears/object.lua:116: in function 'emit_signal'
    lib/wibox/drawable.lua:405: in function <lib/wibox/drawable.lua:400>
error: lib/awful/menu.lua:301: bad argument #1 to 'cmd' (number expected, got table)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant