Send sigterm on middle click on title bar
This commit is contained in:
parent
2f5b39d7a4
commit
3e7810e664
@ -776,6 +776,10 @@ client.connect_signal("request::titlebars", function(c)
|
|||||||
c:emit_signal("request::activate", "titlebar", {raise = true})
|
c:emit_signal("request::activate", "titlebar", {raise = true})
|
||||||
awful.mouse.client.move(c)
|
awful.mouse.client.move(c)
|
||||||
end),
|
end),
|
||||||
|
awful.button({ }, 2, function()
|
||||||
|
--c:emit_signal("request::activate", "titlebar", {raise = true})
|
||||||
|
awesome.kill(c.pid, awesome.unix_signal["SIGTERM"])
|
||||||
|
end),
|
||||||
awful.button({ }, 3, function()
|
awful.button({ }, 3, function()
|
||||||
c:emit_signal("request::activate", "titlebar", {raise = true})
|
c:emit_signal("request::activate", "titlebar", {raise = true})
|
||||||
awful.mouse.client.resize(c)
|
awful.mouse.client.resize(c)
|
||||||
|
Loading…
Reference in New Issue
Block a user