awful.placement: enhance description
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
642a3f454b
commit
d9fff4da2c
|
@ -18,7 +18,7 @@ local capi =
|
||||||
local client = require("awful.client")
|
local client = require("awful.client")
|
||||||
local layout = require("awful.layout")
|
local layout = require("awful.layout")
|
||||||
|
|
||||||
--- Placement module for awful
|
--- Places client according to special criteria.
|
||||||
module("awful.placement")
|
module("awful.placement")
|
||||||
|
|
||||||
-- Check if an area intersect another area.
|
-- Check if an area intersect another area.
|
||||||
|
@ -99,7 +99,7 @@ local function area_remove(areas, elem)
|
||||||
return areas
|
return areas
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Place the client without it being outside the screen.
|
--- Place the client so no part of it will be outside the screen.
|
||||||
-- @param c The client.
|
-- @param c The client.
|
||||||
-- @return The new client geometry.
|
-- @return The new client geometry.
|
||||||
function no_offscreen(c)
|
function no_offscreen(c)
|
||||||
|
|
Loading…
Reference in New Issue