summaryrefslogtreecommitdiff
path: root/bindings.lua
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-04-08 16:46:36 +0200
committerAnton Khirnov <anton@khirnov.net>2020-04-08 16:46:36 +0200
commitd84d336d6ceb7cdf340d6fba9d9e030192a19091 (patch)
tree2c57c884c3b72c2cc4cf2dd4b5b5119bda08f30f /bindings.lua
parent541f28fc378200629899ecad9c16395354df48be (diff)
Use client:move_to_screen() instead of deprecated movetoscreen
Diffstat (limited to 'bindings.lua')
-rw-r--r--bindings.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings.lua b/bindings.lua
index 2284905..2599cde 100644
--- a/bindings.lua
+++ b/bindings.lua
@@ -148,7 +148,7 @@ function M.create(workspace)
awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end),
awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ),
awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end),
- awful.key({ modkey, }, "o", awful.client.movetoscreen ),
+ awful.key({ modkey, }, "o", function (c) c:move_to_screen() end),
awful.key({ modkey, }, "m",
function (c)
c.maximized_horizontal = not c.maximized_horizontal