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:
parent
05ed00d8fa
commit
18903dfd84
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue