discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=18903dfd84834847f9c878919bb136a8b325f816

commit 18903dfd84834847f9c878919bb136a8b325f816
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Mar 25 12:29:36 2015 -0400

    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
---
 src/modules/policy_mobile/e_mod_main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/modules/policy_mobile/e_mod_main.c 
b/src/modules/policy_mobile/e_mod_main.c
index dfc974a..43ca0c9 100644
--- a/src/modules/policy_mobile/e_mod_main.c
+++ b/src/modules/policy_mobile/e_mod_main.c
@@ -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);

-- 


Reply via email to