summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bindings.lua2
-rw-r--r--workspace.lua2
2 files changed, 2 insertions, 2 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
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