mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 19:22:32 +00:00
Merge pull request #245 from Sorky/patch-1
Add 2 x middle-mouse-button actions
This commit is contained in:
commit
adc7ff97ea
|
@ -158,6 +158,7 @@ awful.util.tasklist_buttons = my_table.join(
|
||||||
c:raise()
|
c:raise()
|
||||||
end
|
end
|
||||||
end),
|
end),
|
||||||
|
awful.button({ }, 2, function (c) c:kill() end),
|
||||||
awful.button({ }, 3, function ()
|
awful.button({ }, 3, function ()
|
||||||
local instance = nil
|
local instance = nil
|
||||||
|
|
||||||
|
@ -690,6 +691,7 @@ 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:kill() 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 a new issue