Disable focusing for "Onboard" on-screen keyboard
This commit is contained in:
parent
4ce1c25bb2
commit
87cf79a71a
|
@ -62,6 +62,10 @@ awful.rules.rules = {
|
||||||
-- c:connect_signal("unfocus", function() client.focus = c end)
|
-- c:connect_signal("unfocus", function() client.focus = c end)
|
||||||
-- end
|
-- end
|
||||||
--},
|
--},
|
||||||
|
{
|
||||||
|
rule = { class = "Onboard" },
|
||||||
|
properties = { sticky = true, ontop = true, focusable = false}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
rule = { class = "Passprompt" },
|
rule = { class = "Passprompt" },
|
||||||
properties = { ontop = true, focus = true}
|
properties = { ontop = true, focus = true}
|
||||||
|
|
|
@ -159,9 +159,14 @@ root.buttons(awful.util.table.join(
|
||||||
))
|
))
|
||||||
|
|
||||||
local clientbuttons = awful.util.table.join(
|
local clientbuttons = awful.util.table.join(
|
||||||
awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
|
awful.button({ }, 1, function (c)
|
||||||
awful.button({ modkey }, 1, awful.mouse.client.move),
|
if c.name ~= "Onboard" then
|
||||||
awful.button({ modkey }, 3, awful.mouse.client.resize))
|
client.focus = c
|
||||||
|
c:raise()
|
||||||
|
end
|
||||||
|
end),
|
||||||
|
awful.button({ modkey }, 1, awful.mouse.client.move),
|
||||||
|
awful.button({ modkey }, 3, awful.mouse.client.resize))
|
||||||
|
|
||||||
binder.client = {}
|
binder.client = {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue