visibility: added code checking a config value (calc_vis_without_effect) while calcul... 47/104547/6
authorSungbae Park <sb34.park@samsung.com>
Tue, 13 Dec 2016 12:45:09 +0000 (21:45 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Wed, 14 Dec 2016 04:56:49 +0000 (13:56 +0900)
Change-Id: I453a29522831601666113314a12c3b8c6a10f1df

Signed-off-by: Sungbae Park <sb34.park@samsung.com>
Change-Id: I90a3ded21eff20573c4f129e37e750024f306f82
Signed-off-by: Sungbae Park <sb34.park@samsung.com>
src/bin/e_client.c
src/bin/e_config.c
src/bin/e_config.h

index f738b406b3257d64ca3b46d4fb945a0b0e126c97..1fd276a4579471242eb9ad05bd5688a9ba4f2f33 100644 (file)
@@ -2868,7 +2868,11 @@ _e_client_visibility_zone_calculate(E_Zone *zone)
    Eina_List *l = NULL;
    Eina_Bool effect_running = EINA_FALSE;
 
-   if (e_comp->animating) return;
+   if (!e_config->calc_vis_without_effect)
+     {
+        if (e_comp->animating) return;
+     }
+
    if (!zone) return;
 
    TRACE_DS_BEGIN(CLIENT:VISIBILITY CALCULATE);
@@ -2896,13 +2900,16 @@ _e_client_visibility_zone_calculate(E_Zone *zone)
         /* TODO: need to check whether window intersects with entire screen, not zone. */
         /* if (!E_INTERSECTS(ec->x, ec->y, ec->w, ec->h, zone->x, zone->y, zone->w, zone->h)) continue; */
 
-        if ((e_comp_object_is_animating(ec->frame)) ||
-            (evas_object_data_get(ec->frame, "effect_running")))
+        if (!e_config->calc_vis_without_effect)
           {
-             effect_running = EINA_TRUE;
-             if (ec->launching)
-               is_launching_effect = EINA_TRUE;
-             continue;
+             if ((e_comp_object_is_animating(ec->frame)) ||
+                 (evas_object_data_get(ec->frame, "effect_running")))
+               {
+                  effect_running = EINA_TRUE;
+                  if (ec->launching)
+                    is_launching_effect = EINA_TRUE;
+                  continue;
+               }
           }
 
         e_client_geometry_get(ec, &x, &y, &w, &h);
index ca5eae0f78c2f2ee68182bc8979151e96a470222..b233e66794f35803dff78bdb7d9afdb5d51b0794 100644 (file)
@@ -268,6 +268,7 @@ _e_config_edd_init(Eina_Bool old)
    E_CONFIG_LIST(D, T, aux_hint_supported, _e_config_aux_hint_supported_edd);
    E_CONFIG_VAL(D, T, use_module_srv.qp, UCHAR);
    E_CONFIG_VAL(D, T, launchscreen_timeout, DOUBLE);
+   E_CONFIG_VAL(D, T, calc_vis_without_effect, UCHAR);
 }
 
 /* externally accessible functions */
@@ -458,6 +459,7 @@ e_config_load(void)
    E_CONFIG_LIMIT(e_config->use_desk_smart_obj, 0, 1);
    E_CONFIG_LIMIT(e_config->use_module_srv.qp, 0, 1);
    E_CONFIG_LIMIT(e_config->launchscreen_timeout, 7.0, 100.0);
+   E_CONFIG_LIMIT(e_config->calc_vis_without_effect, 0, 1);
 }
 
 E_API int
index 3baacf0efb3d4ab6de666ded44796cb07cd4183f..cb5ecdd64465b1ea7fcca8b22ecc95620d9003fa 100644 (file)
@@ -165,6 +165,7 @@ struct _E_Config
       Eina_Bool qp; /* quickpanel */
    } use_module_srv;
    double launchscreen_timeout;
+   Eina_Bool calc_vis_without_effect;
 };
 
 struct _E_Config_Desklock_Background