rc.lua: Move Motif hints example to generated docs
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
9d41488e43
commit
45430daf7f
|
@ -521,10 +521,7 @@ awful.rules.rules = {
|
|||
-- @DOC_DIALOG_RULE@
|
||||
-- Add titlebars to normal clients and dialogs
|
||||
{ rule_any = {type = { "normal", "dialog" }
|
||||
-- If you want programs to be able to request no titlebars, use:
|
||||
-- For client side decorations, clients might request no titlebars via
|
||||
-- Motif WM hints. To honor these hints, use:
|
||||
-- titlebars_enabled = function(c) return c.requests_no_titlebar end
|
||||
-- @DOC_CSD_TITLEBARS@
|
||||
}, properties = { titlebars_enabled = true }
|
||||
},
|
||||
|
||||
|
|
|
@ -218,6 +218,15 @@ sections.DOC_TITLEBARS = [[
|
|||
]]
|
||||
|
||||
|
||||
sections.DOC_CSD_TITLEBARS = [[
|
||||
For client side decorations, clients might request no titlebars via
|
||||
Motif WM hints. To honor these hints, use:
|
||||
`titlebars_enabled = function(c) return c.requests_no_titlebar end`
|
||||
|
||||
See `client.requests_no_titlebar` for more details.
|
||||
]]
|
||||
|
||||
|
||||
sections.DOC_BORDER = [[
|
||||
|
||||
]]
|
||||
|
|
Loading…
Reference in New Issue