Merge pull request #1600 from Drauthius/master

Corrected selected check in awful.tag.set_screen()
This commit is contained in:
Emmanuel Lepage Vallée 2017-02-27 16:48:08 -05:00 committed by GitHub
commit 3b0269d5e9
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ end
function tag.object.set_screen(t, s) function tag.object.set_screen(t, s)
s = get_screen(s or ascreen.focused()) s = get_screen(s or ascreen.focused())
local sel = tag.selected local sel = t.selected
local old_screen = get_screen(tag.getproperty(t, "screen")) local old_screen = get_screen(tag.getproperty(t, "screen"))
if s == old_screen then return end if s == old_screen then return end