1--DOC_GEN_IMAGE --DOC_HIDE
2-- Align a client to the top right of the parent area. --DOC_HEADER
3-- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER
4-- @tparam[opt={}] table args Other arguments") --DOC_HEADER
5-- @treturn table The new geometry --DOC_HEADER
6-- @staticfct awful.placement.top_right --DOC_HEADER
7
8require("awful.tag").add("1", {screen=screen[1], selected=true}) --DOC_HIDE
9screen[1]._resize {width = 128, height = 96} --DOC_HIDE
10local awful = {placement = require("awful.placement")} --DOC_HIDE
11local c = client.gen_fake {x = 45, y = 35, width=40, height=30} --DOC_HIDE
12
13awful.placement.top_right(client.focus)
14
…lines 15–19 unchanged (5 lines)