diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-02-25 18:03:00 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-02-25 18:03:00 +0100 |
commit | e424c0a5f7e7433f65b94f9c49286f5bee562633 (patch) | |
tree | adc406101e36fecd36d250b393a1ca372f6d8c3d | |
parent | 3bb50dbe15800900945f92e39f0721f5d6632b60 (diff) |
workspace: stop using deprecated functions
-rw-r--r-- | workspace.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/workspace.lua b/workspace.lua index 15201dd..1522d68 100644 --- a/workspace.lua +++ b/workspace.lua @@ -151,9 +151,8 @@ end function Workspace:move_client(client, desk, page) local dst_page = self.desktops[desk].pages[page] - local dst_screen = awful.tag.getscreen(dst_page) - client:move_to_screen(dst_screen) - awful.client.movetotag(dst_page, client) + client:move_to_screen(dst_page.screen) + client:move_to_tag(dst_page) end function Workspace:client_move_relative(client, offset) |