doc: awful.placement.no_offscreen
This commit is contained in:
parent
b600b143b6
commit
66c4ff7f2c
|
@ -103,9 +103,9 @@ local function area_remove(areas, elem)
|
||||||
return areas
|
return areas
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Place the client so no part of it will be outside the screen.
|
--- Place the client so no part of it will be outside the screen (workarea).
|
||||||
-- @param c The client.
|
-- @client c The client.
|
||||||
-- @return The new client geometry.
|
-- @treturn table The new client geometry.
|
||||||
function placement.no_offscreen(c)
|
function placement.no_offscreen(c)
|
||||||
local c = c or capi.client.focus
|
local c = c or capi.client.focus
|
||||||
local geometry = c:geometry()
|
local geometry = c:geometry()
|
||||||
|
|
Loading…
Reference in New Issue