add client hook for UNIGNORE

UNIGNORE is the hook to watch for wl clients as they are added; the
ignore mechanism prevents most of the compositor from processing
clients. this is a stupid method from an api perspective since it's
different in x11 and wl, so it should probably be improved on in the future
This commit is contained in:
Mike Blumenkrantz 2017-02-10 17:23:44 -05:00
parent 25240fb86d
commit 2f6f31f2a7
2 changed files with 2 additions and 0 deletions

View File

@ -2568,6 +2568,7 @@ e_client_unignore(E_Client *ec)
focus_stack = eina_list_append(focus_stack, ec);
}
_e_client_event_simple(ec, E_EVENT_CLIENT_ADD);
_e_client_hook_call(E_CLIENT_HOOK_UNIGNORE, ec);
}
E_API E_Client *

View File

@ -169,6 +169,7 @@ typedef enum _E_Client_Hook_Point
E_CLIENT_HOOK_DEL,
E_CLIENT_HOOK_UNREDIRECT,
E_CLIENT_HOOK_REDIRECT,
E_CLIENT_HOOK_UNIGNORE,
E_CLIENT_HOOK_LAST,
} E_Client_Hook_Point;