Skip to content

Commit

Permalink
Fix Alt+Tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Elv13 committed Jan 4, 2017
1 parent 7c6dead commit 75cc9f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radical/impl/alttab/init.lua
Expand Up @@ -232,9 +232,9 @@ local function new(args)
checkable = (not auto_release) and v.screen == scr,
checked = v.screen == scr and (not auto_release and is_in_tag(t,v)) or nil,
button1 = function(a,b,c,d,no_hide)
if t and t.selected == false and not util.table.hasitem(v:tags(),capi.screen[v.screen].selected_tag) then
if v and not v:isvisible() then
lock_history = true
tag.viewonly(t)
v:jump_to()
lock_history = false
end
capi.client.focus = v
Expand Down

0 comments on commit 75cc9f6

Please sign in to comment.