mobile policy desk set hook needs to ignore new_client clients

desk set happens during client init, so these will always be new clients

ref D2242
This commit is contained in:
Mike Blumenkrantz 2015-03-25 12:29:36 -04:00
parent 05ed00d8fa
commit 18903dfd84
1 changed files with 1 additions and 0 deletions

View File

@ -242,6 +242,7 @@ _pol_hook_client_desk_set(void *d EINA_UNUSED, E_Client *ec)
if (e_object_is_del(E_OBJECT(ec))) return;
if (!_pol_client_normal_check(ec)) return;
if (ec->new_client) return;
pc = eina_hash_find(hash_pol_clients, &ec);
pd = eina_hash_find(hash_pol_desks, &ec->desk);