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

cyclefocus.key: handle Tab explicitly #15

Merged
merged 1 commit into from
Apr 2, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,13 @@ function cyclefocus.key(mods, key, startdirection, _args)
local key = key or "Tab"
local startdirection = startdirection or 1
local args = awful.util.table.clone(_args) or {}
if not args.keys then
if key == "Tab" then
args.keys = {"Tab", "ISO_Left_Tab"}
else
args.keys = {key}
end
end
args.keys = args.keys or {key}
args.modifier = args.modifier or mods[0]

Expand Down