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)
|
||||
-- end
|
||||
--},
|
||||
{
|
||||
rule = { class = "Onboard" },
|
||||
properties = { sticky = true, ontop = true, focusable = false}
|
||||
},
|
||||
{
|
||||
rule = { class = "Passprompt" },
|
||||
properties = { ontop = true, focus = true}
|
||||
|
|
|
@ -159,9 +159,14 @@ root.buttons(awful.util.table.join(
|
|||
))
|
||||
|
||||
local 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 }, 3, awful.mouse.client.resize))
|
||||
awful.button({ }, 1, function (c)
|
||||
if c.name ~= "Onboard" then
|
||||
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 = {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue