Remove unsatisifiable condition when destination screen is empty
This commit fixes the following issue: https://github.com/awesomeWM/awesome/issues/2365
This commit is contained in:
parent
81da3a2ce7
commit
016be728b1
|
@ -226,7 +226,7 @@ function client.swap.global_bydirection(dir, sel)
|
|||
c:swap(sel)
|
||||
|
||||
-- swapping to an empty screen
|
||||
elseif get_screen(sel.screen) ~= get_screen(c.screen) and sel == c then
|
||||
elseif sel == c then
|
||||
sel:move_to_screen(screen.focused())
|
||||
|
||||
-- swapping to a nonempty screen
|
||||
|
|
Loading…
Reference in New Issue