rc.lua: Move Motif hints example to generated docs

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2018-08-26 19:26:19 +02:00
parent 9d41488e43
commit 45430daf7f
2 changed files with 10 additions and 4 deletions

View File

@ -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 }
},

View File

@ -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 = [[
&nbsp;
]]