This commit is contained in:
Uli Schlachter 2018-08-22 12:27:05 +02:00
commit 3f958d60da
1 changed files with 1 additions and 1 deletions

View File

@ -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