awful.screen: enhance doc
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
c51d4d61ac
commit
105e155606
|
@ -18,7 +18,7 @@ local client = require("awful.client")
|
||||||
module("awful.screen")
|
module("awful.screen")
|
||||||
|
|
||||||
--- Give the focus to a screen, and move pointer.
|
--- Give the focus to a screen, and move pointer.
|
||||||
-- @param i Screen number.
|
-- @param i Relative screen number.
|
||||||
function focus(i)
|
function focus(i)
|
||||||
local s = util.cycle(capi.screen.count(), capi.mouse.screen + i)
|
local s = util.cycle(capi.screen.count(), capi.mouse.screen + i)
|
||||||
local c = client.focus.history.get(s, 0)
|
local c = client.focus.history.get(s, 0)
|
||||||
|
|
Loading…
Reference in New Issue