tag: Add a context to request::select.
This commit is contained in:
parent
839dddee25
commit
c5202a4870
3
ewmh.c
3
ewmh.c
|
@ -462,7 +462,8 @@ ewmh_process_client_message(xcb_client_message_event_t *ev)
|
||||||
{
|
{
|
||||||
lua_State *L = globalconf_get_lua_State();
|
lua_State *L = globalconf_get_lua_State();
|
||||||
luaA_object_push(L, globalconf.tags.tab[idx]);
|
luaA_object_push(L, globalconf.tags.tab[idx]);
|
||||||
luaA_object_emit_signal(L, -1, "request::select", 0);
|
lua_pushstring(L, "ewmh");
|
||||||
|
luaA_object_emit_signal(L, -1, "request::select", 1);
|
||||||
lua_pop(L, 1);
|
lua_pop(L, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -203,8 +203,9 @@
|
||||||
#include "ewmh.h"
|
#include "ewmh.h"
|
||||||
#include "luaa.h"
|
#include "luaa.h"
|
||||||
|
|
||||||
/**
|
/** When a tag requests to be selected.
|
||||||
* @signal request::select
|
* @signal request::select
|
||||||
|
* @tparam string context The reason why it was called.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue