Merge branch 'request_context_v2' of git://github.com/Elv13/awesome-1
This commit is contained in:
commit
14e7274cc7
|
@ -418,7 +418,8 @@ ewmh_process_client_message(xcb_client_message_event_t *ev)
|
|||
{
|
||||
if((c = client_getbywin(ev->window))) {
|
||||
luaA_object_push(globalconf.L, c);
|
||||
luaA_object_emit_signal(globalconf.L, -1, "request::activate", 0);
|
||||
lua_pushstring(globalconf.L,"ewmh");
|
||||
luaA_object_emit_signal(globalconf.L, -2, "request::activate", 1);
|
||||
lua_pop(globalconf.L, 1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -239,7 +239,7 @@ function rules.execute(c, props, callbacks)
|
|||
-- Do this at last so we do not erase things done by the focus
|
||||
-- signal.
|
||||
if props.focus and (type(props.focus) ~= "function" or props.focus(c)) then
|
||||
c:emit_signal('request::activate')
|
||||
c:emit_signal('request::activate',"rules")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue