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
|
||||
end
|
||||
|
||||
--- Place the client so no part of it will be outside the screen.
|
||||
-- @param c The client.
|
||||
-- @return The new client geometry.
|
||||
--- Place the client so no part of it will be outside the screen (workarea).
|
||||
-- @client c The client.
|
||||
-- @treturn table The new client geometry.
|
||||
function placement.no_offscreen(c)
|
||||
local c = c or capi.client.focus
|
||||
local geometry = c:geometry()
|
||||
|
|
Loading…
Reference in New Issue