We add a new hook - E_POLICY_HOOK_CLIENT_TYPE_SET - to notify changing window type.
Change-Id: I01e658fbe496d3ce188ac40aad5b4889d21e95c4
[E_POLICY_HOOK_CLIENT_ROTATION_GEOMETRY_SET] = NULL,
[E_POLICY_HOOK_CLIENT_STACK_MODE_SET] = NULL,
[E_POLICY_HOOK_CLIENT_AUX_HINT_CHANGED] = NULL,
+ [E_POLICY_HOOK_CLIENT_TYPE_SET] = NULL,
};
E_API int E_EVENT_POLICY_QUICKPANEL_VISIBLE_STATE_CHANGE = -1;
E_POLICY_HOOK_CLIENT_ROTATION_GEOMETRY_SET,
E_POLICY_HOOK_CLIENT_STACK_MODE_SET,
E_POLICY_HOOK_CLIENT_AUX_HINT_CHANGED,
+ E_POLICY_HOOK_CLIENT_TYPE_SET,
E_POLICY_HOOK_LAST
} E_Policy_Hook_Point;
ec->netwm.type = win_type;
+ e_policy_hook_call(E_POLICY_HOOK_CLIENT_TYPE_SET, ec);
+
EC_CHANGED(ec);
}
// --------------------------------------------------------