visibility: Create client data for visibility by a hook, 'E_CLIENT_HOOK_NEW_CLIENT_PO... 81/91281/2
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 6 Oct 2016 12:31:16 +0000 (21:31 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Fri, 7 Oct 2016 07:43:40 +0000 (00:43 -0700)
commit61c4b4394ca574e76f212ab55e60005aaaaa67ca
tree03d94b3d962664618bdc776e5a02084ea74313a5
parent2fb87793dfe59c2e8cf51394e10234e78bd080c9
visibility: Create client data for visibility by a hook, 'E_CLIENT_HOOK_NEW_CLIENT_POST' instead of 'E_EVENT_CLIENT_ADD'.

There is a problem that if we use 'E_EVENT_CLIENT_ADD', then we cannot fetch
a aux hint into E_Vis_Client. Becase ecore event can be happend later than fetching
aux hint which is called by dispatching wayland protocol.
Thus, we need to create a data, E_Vis_Client by 'E_CLIENT_HOOK_NEW_CLIENT_POST',
so that we can prepare a data before fetching aux hint.

Change-Id: I9792880dbc9d3705f3cdcf2b4d13b9c365278d4f
src/bin/e_policy_visibility.c
src/bin/e_policy_visibility_internal.h