diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-04-08 16:46:36 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-04-08 16:46:36 +0200 |
commit | d84d336d6ceb7cdf340d6fba9d9e030192a19091 (patch) | |
tree | 2c57c884c3b72c2cc4cf2dd4b5b5119bda08f30f /workspace.lua | |
parent | 541f28fc378200629899ecad9c16395354df48be (diff) |
Use client:move_to_screen() instead of deprecated movetoscreen
Diffstat (limited to 'workspace.lua')
-rw-r--r-- | workspace.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/workspace.lua b/workspace.lua index fdce676..9337ec2 100644 --- a/workspace.lua +++ b/workspace.lua @@ -113,7 +113,7 @@ function Workspace:move_client(client, desk, page) print("move to " .. desk .. "/" .. page) local dst_page = self.desktops[desk].pages[page] local dst_screen = awful.tag.getscreen(dst_page) - awful.client.movetoscreen(client, dst_screen) + client:move_to_screen(dst_screen) awful.client.movetotag(dst_page, client) end |