devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=3d90de80b77e42d03182dabd7753afbc59a3407e
commit 3d90de80b77e42d03182dabd7753afbc59a3407e Author: Chris Michael <cp.mich...@samsung.com> Date: Wed Jul 8 15:22:08 2015 -0400 shot: Update with proper compositor checking tests Signed-off-by: Chris Michael <cp.mich...@samsung.com> --- src/modules/shot/e_mod_main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/shot/e_mod_main.c b/src/modules/shot/e_mod_main.c index 815a056..eaa2935 100644 --- a/src/modules/shot/e_mod_main.c +++ b/src/modules/shot/e_mod_main.c @@ -1098,7 +1098,7 @@ static Eina_Bool _shot_delay(void *data) { timer = NULL; - if (e_comp_util_has_x()) + if (e_comp->comp_type == E_PIXMAP_TYPE_X) _x_shot_now(data, NULL, NULL); else _wl_shot_now(data, NULL, NULL); @@ -1110,7 +1110,7 @@ static Eina_Bool _shot_delay_border(void *data) { border_timer = NULL; - if (e_comp_util_has_x()) + if (e_comp->comp_type == E_PIXMAP_TYPE_X) _x_shot_now(NULL, data, NULL); else _wl_shot_now(NULL, data, NULL); @@ -1156,7 +1156,7 @@ _e_mod_action_border_cb(E_Object *obj EINA_UNUSED, const char *params EINA_UNUSE ecore_timer_del(border_timer); border_timer = NULL; } - if (e_comp_util_has_x()) + if (e_comp->comp_type == E_PIXMAP_TYPE_X) _x_shot_now(NULL, ec, NULL); else _wl_shot_now(NULL, ec, NULL); @@ -1179,7 +1179,7 @@ _e_mod_action_cb(E_Object *obj, const char *params) if (!zone) zone = e_zone_current_get(); if (!zone) return; E_FREE_FUNC(timer, ecore_timer_del); - if (e_comp_util_has_x()) + if (e_comp->comp_type == E_PIXMAP_TYPE_X) _x_shot_now(zone, NULL, params); else _wl_shot_now(zone, NULL, params); --