From d8412cb51d2b200d477508b48c73bf42b2309605 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Tue, 13 Jun 2017 21:29:20 +0200 Subject: [PATCH] Re-add documentation of xproperty API (#1843) The documentation for awesome.register_xproperty, awesome.get_xproperty and awesome.set_xproperty were lost in commit 26f15a13f3c78babf1. This commit adds them back. Fixes: https://github.com/awesomeWM/awesome/issues/1817 Signed-off-by: Uli Schlachter --- luaa.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/luaa.c b/luaa.c index daa9be4b0..28b8aa3e6 100644 --- a/luaa.c +++ b/luaa.c @@ -20,12 +20,22 @@ */ /** awesome core API + * + * Additionally to the classes described here, one can also use X properties as + * described in @{xproperties}. * * @author Julien Danjou <julien@danjou.info> * @copyright 2008-2009 Julien Danjou * @module awesome */ +/** Register a new xproperty. + * + * @tparam string name The name of the X11 property. + * @tparam string type One of "string", "number" or "boolean". + * @function register_xproperty + */ + #define _GNU_SOURCE #include "luaa.h"