doc: fix wallpaper_changed signal, SETUP_SIGNAL comment (#2141)
This commit is contained in:
parent
31b8623ff6
commit
cc68ac9292
10
luaa.c
10
luaa.c
|
@ -118,10 +118,10 @@ extern const struct luaL_Reg awesome_mouse_meta[];
|
||||||
* @signal systray::update
|
* @signal systray::update
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** The wallpaper has just been changed. This signal is used for
|
/** The wallpaper has changed.
|
||||||
*
|
*
|
||||||
* pseudo-transparency in `wibox.drawable` if no composite manager is
|
* This signal is used for pseudo-transparency in `wibox.drawable` if no
|
||||||
* running.
|
* composite manager is running.
|
||||||
* @signal wallpaper_changed
|
* @signal wallpaper_changed
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -623,10 +623,10 @@ setup_awesome_signals(lua_State *L)
|
||||||
|
|
||||||
#define SETUP_SIGNAL(sig) \
|
#define SETUP_SIGNAL(sig) \
|
||||||
do { \
|
do { \
|
||||||
/* Set awesome.signals["SIGSTOP"] = 42 */ \
|
/* Set awesome.unix_signal["SIGSTOP"] = 42 */ \
|
||||||
lua_pushinteger(L, sig); \
|
lua_pushinteger(L, sig); \
|
||||||
lua_setfield(L, -2, #sig); \
|
lua_setfield(L, -2, #sig); \
|
||||||
/* Set awesome.signals[42] = "SIGSTOP" */ \
|
/* Set awesome.unix_signal[42] = "SIGSTOP" */ \
|
||||||
lua_pushinteger(L, sig); \
|
lua_pushinteger(L, sig); \
|
||||||
lua_pushstring(L, #sig); \
|
lua_pushstring(L, #sig); \
|
||||||
lua_settable(L, -3); \
|
lua_settable(L, -3); \
|
||||||
|
|
Loading…
Reference in New Issue