Corrected selected check in awful.tag.set_screen()
Previously it would check if the awful.tag.selected function existed, and not whether the tag was actually selected.
This commit is contained in:
parent
052cda939b
commit
28709c282e
|
@ -475,7 +475,7 @@ end
|
|||
function tag.object.set_screen(t, s)
|
||||
|
||||
s = get_screen(s or ascreen.focused())
|
||||
local sel = tag.selected
|
||||
local sel = t.selected
|
||||
local old_screen = get_screen(tag.getproperty(t, "screen"))
|
||||
|
||||
if s == old_screen then return end
|
||||
|
|
Loading…
Reference in New Issue