Re-add documentation of xproperty API (#1843)

The documentation for awesome.register_xproperty, awesome.get_xproperty
and awesome.set_xproperty were lost in commit 26f15a13f3. This
commit adds them back.

Fixes: https://github.com/awesomeWM/awesome/issues/1817
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2017-06-13 21:29:20 +02:00 committed by Daniel Hahler
parent 26f150a66c
commit d8412cb51d
1 changed files with 10 additions and 0 deletions

10
luaa.c
View File

@ -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 &lt;julien@danjou.info&gt;
* @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"