E_Comp_Object *topmost_cw;
API_ENTRY;
EINA_SAFETY_ON_NULL_RETURN(cw->ec);
- if (cw->ec->input_only) return;
topmost_ec = e_comp_wl_topmost_parent_get(cw->ec);
if (!topmost_ec) return;
{
evas_object_name_set(cw->clip, "cw->clip::WINDOW");
}
- else if (!cw->ec->input_only)
+ else
{
evas_object_name_set(cw->clip, "cw->clip::CLIENT");
}
evas_object_name_set(cw->effect_obj, "cw->effect_obj::WINDOW");
evas_object_name_set(cw->clip, "cw->clip::WINDOW");
}
- else if (!cw->ec->input_only)
+ else
{
evas_object_name_set(cw->shobj, "cw->shobj::CLIENT");
evas_object_name_set(cw->effect_obj, "cw->effect_obj::CLIENT");
}
#endif
- cw->real_hid = !cw->ec->input_only;
- if (!cw->ec->input_only)
- {
- _e_comp_object_mouse_event_callback_set(cw);
- }
+ cw->real_hid = EINA_TRUE;
+ _e_comp_object_mouse_event_callback_set(cw);
cw->default_input_obj = evas_object_rectangle_add(comp->evas);
evas_object_name_set(cw->default_input_obj, "cw->default_input_obj");
if (!redirected)
redirected = e_comp_is_on_overlay(cw->ec);
- if ((!cw->ec->input_only) && (redirected) &&
+ if ((redirected) &&
(cw->content_type != E_COMP_OBJECT_CONTENT_TYPE_EXT_IMAGE) &&
(cw->content_type != E_COMP_OBJECT_CONTENT_TYPE_EXT_EDJE) &&
(e_pixmap_dirty_get(cw->ec->pixmap) ||
prev_w = cw->w, prev_h = cw->h;
/* check shading and clamp to pixmap size for regular clients */
- if ((!cw->ec->input_only) && (!cw->ec->override) &&
+ if ((!cw->ec->override) &&
(((w != pw) || (h != ph))))
{
wl_signal_emit(&cw->events.resize, NULL);
else
{
/* flip for CSD */
- if (!cw->ec->input_only)
- w = pw, h = ph;
+ w = pw, h = ph;
wl_signal_emit(&cw->events.resize, NULL);
/* "just do it" for overrides */
return;
}
- if (cw->ec->input_only)
- {
- /* input_only = who cares */
- ELOGF("COMP", "Hide input_only evas_object:%p", cw->ec, obj);
- evas_object_hide(obj);
-
- wl_signal_emit(&cw->events.hide, NULL);
-
- return;
- }
/* already hidden or currently animating */
if ((!cw->visible) || (cw->animating && cw->hiding && (!cw->ec->iconic)))
{
return;
}
- ELOGF("COMP", "show_helper. cw(v:%d,a:%d,dh:%d,ct:%d,u:%p,s(%d,%d)), ec(i:%d(%d,%d),o:%d,g:%d,n:%d)", ec,
+ ELOGF("COMP", "show_helper. cw(v:%d,a:%d,dh:%d,ct:%d,u:%p,s(%d,%d)), ec(i:%d(%d,%d),g:%d,n:%d)", ec,
cw->visible, cw->animating, cw->defer_hide, cw->content_type, cw->updates, cw->w, cw->h,
- ec->iconic, ec->exp_iconify.by_client, ec->exp_iconify.type, ec->input_only, ec->ignored, ec->new_client);
+ ec->iconic, ec->exp_iconify.by_client, ec->exp_iconify.type, ec->ignored, ec->new_client);
if (cw->visible)
{
return;
}
- if ((!cw->updates) && (!ec->input_only) && (!ec->ignored))
+ if ((!cw->updates) && (!ec->ignored))
{
int pw, ph;
ELOGF("COMP", "show_helper. return. new_client", ec);
return;
}
- if (ec->input_only)
- {
- /* who cares */
- cw->real_hid = 0;
- evas_object_move(cw->smart_obj, ec->x, ec->y);
- evas_object_resize(cw->smart_obj, ec->w, ec->h);
- ELOGF("COMP", "show_helper. evas_object_show!!!", ec);
- evas_object_show(cw->smart_obj);
- return;
- }
comp_wl = e_comp_wl_get();
if (ec->netwm.type == E_WINDOW_TYPE_DND && !comp_wl->drag_client)
{
return;
}
//INF("SHOW %p", ec);
- if (ec->input_only)
+ if ((!cw->obj) && (cw->external_content))
{
-#ifdef REMOVE_EDJE_OBJ
-#else
- cw->effect_obj = evas_object_rectangle_add(comp->evas);
- evas_object_color_set(cw->effect_obj, 0, 0, 0, 0);
- evas_object_smart_member_add(cw->effect_obj, cw->smart_obj);
- evas_object_name_set(cw->effect_obj, "cw->effect_obj::input_only");
-#endif
- cw->setup = EINA_TRUE;
+ ERR("cw->obj for external content is not created! ec:%p", cw->ec);
+ return;
}
- else
- {
- if ((!cw->obj) && (cw->external_content))
- {
- ERR("cw->obj for external content is not created! ec:%p", cw->ec);
- return;
- }
- _e_comp_object_setup(cw, comp);
- if (!cw->obj)
- {
- cw->content_type = E_COMP_OBJECT_CONTENT_TYPE_INT_IMAGE;
- cw->obj = evas_object_image_filled_add(comp->evas);
- evas_object_image_border_center_fill_set(cw->obj, EVAS_BORDER_FILL_SOLID);
- evas_object_image_pixels_get_callback_set(cw->obj, _e_comp_object_pixels_get, cw);
- evas_object_image_pixels_noti_callback_set(cw->obj, _e_comp_object_pixels_noti, cw);
- evas_object_image_smooth_scale_set(cw->obj, e_comp_config_get()->smooth_windows);
- evas_object_name_set(cw->obj, "cw->obj");
- evas_object_image_colorspace_set(cw->obj, EVAS_COLORSPACE_ARGB8888);
- evas_object_intercept_color_set_callback_add(cw->obj, _e_comp_intercept_obj_color_set, cw);
- evas_object_pass_events_set(cw->obj, EINA_TRUE);
- }
- _e_comp_object_alpha_set(cw);
-
- cw->redirected = 1;
- evas_object_color_set(cw->clip, ec->netwm.opacity, ec->netwm.opacity, ec->netwm.opacity, ec->netwm.opacity);
+ _e_comp_object_setup(cw, comp);
+ if (!cw->obj)
+ {
+ cw->content_type = E_COMP_OBJECT_CONTENT_TYPE_INT_IMAGE;
+ cw->obj = evas_object_image_filled_add(comp->evas);
+ evas_object_image_border_center_fill_set(cw->obj, EVAS_BORDER_FILL_SOLID);
+ evas_object_image_pixels_get_callback_set(cw->obj, _e_comp_object_pixels_get, cw);
+ evas_object_image_pixels_noti_callback_set(cw->obj, _e_comp_object_pixels_noti, cw);
+ evas_object_image_smooth_scale_set(cw->obj, e_comp_config_get()->smooth_windows);
+ evas_object_name_set(cw->obj, "cw->obj");
+ evas_object_image_colorspace_set(cw->obj, EVAS_COLORSPACE_ARGB8888);
+ evas_object_intercept_color_set_callback_add(cw->obj, _e_comp_intercept_obj_color_set, cw);
+ evas_object_pass_events_set(cw->obj, EINA_TRUE);
}
+ _e_comp_object_alpha_set(cw);
+
+ cw->redirected = 1;
+ evas_object_color_set(cw->clip, ec->netwm.opacity, ec->netwm.opacity, ec->netwm.opacity, ec->netwm.opacity);
_e_comp_object_map_transform_rect(cw->ec, 0, 0, cw->w, cw->h, NULL, NULL, &tw, &th);
#ifdef REMOVE_EDJE_OBJ
#ifdef REMOVE_EDJE_OBJ
#else
- if (!cw->ec->input_only)
- {
- edje_object_freeze(cw->effect_obj);
- edje_object_freeze(cw->shobj);
- edje_object_play_set(cw->shobj, 0);
- }
+ edje_object_freeze(cw->effect_obj);
+ edje_object_freeze(cw->shobj);
+ edje_object_play_set(cw->shobj, 0);
#endif
e_comp_render_queue(); //force nocomp recheck
#ifdef REMOVE_EDJE_OBJ
if (cw->obj) evas_object_show(cw->obj);
#else
- if (!cw->ec->input_only)
- {
- edje_object_thaw(cw->effect_obj);
- edje_object_thaw(cw->shobj);
- edje_object_play_set(cw->shobj, 1);
- }
+ edje_object_thaw(cw->effect_obj);
+ edje_object_thaw(cw->shobj);
+ edje_object_play_set(cw->shobj, 1);
evas_object_show(cw->effect_obj);
#endif
if (cw->mask.obj) evas_object_show(cw->mask.obj);
if (cw->transform_tranp_obj) evas_object_show(cw->transform_tranp_obj);
if (cw->default_input_obj) evas_object_show(cw->default_input_obj);
e_comp_render_queue();
- if (cw->ec->input_only)
- {
- TRACE_DS_END();
- return;
- }
if (cw->ec->iconic && (!cw->ec->new_client))
{
if (e_client_is_iconified_by_client(cw->ec))
int tw, th;
API_ENTRY;
- if (cw->ec->input_only || (!cw->updates)) return;
+ if (!cw->updates) return;
if (e_comp_is_on_overlay(cw->ec))
{
{
API_ENTRY;
- if (cw->ec->input_only || (!cw->updates) || (!cw->redirected)) return;
+ if ((!cw->updates) || (!cw->redirected)) return;
if (cw->render_update_lock.lock) return;
if (!e_pixmap_usable_get(cw->ec->pixmap)) return;
if (!cw->update)
E_Comp *comp;
API_ENTRY;
- if (cw->ec->input_only || (!cw->updates)) return;
+ if (!cw->updates) return;
if (!cw->update) return;
cw->update = 0;
comp = e_comp_get();
API_ENTRY;
EINA_SAFETY_ON_NULL_RETURN(cw->ec);
- if (cw->ec->input_only) return;
if (cw->external_content) return;
if (cw->render_update_lock.lock) return;
set = !!set;
API_ENTRY EINA_FALSE;
EINA_SAFETY_ON_NULL_RETURN_VAL(cw->ec, EINA_FALSE);
- if (cw->ec->input_only) return EINA_TRUE;
if (cw->external_content) return EINA_TRUE;
if (cw->native) return EINA_FALSE;
/* if comp object is not redirected state, comp object should not be set by newly committed data
API_ENTRY;
EINA_SAFETY_ON_NULL_RETURN(cw->ec);
- if (cw->ec->input_only) return;
mask_set = !!set;
if (mask_set)
Eina_Bool transform_set = EINA_FALSE;
API_ENTRY;
EINA_SAFETY_ON_NULL_RETURN(cw->ec);
- if (cw->ec->input_only) return;
transform_set = !!set;
{
API_ENTRY;
EINA_SAFETY_ON_NULL_RETURN(cw->ec);
- if (cw->ec->input_only) return;
if (!cw->transform_bg_obj) return;
_e_comp_object_transform_obj_map_set(cw->transform_bg_obj, vertices);
{
API_ENTRY;
EINA_SAFETY_ON_NULL_RETURN(cw->ec);
- if (cw->ec->input_only) return;
if (!cw->transform_bg_obj) return;
_e_comp_object_transform_obj_map_set_with_zoom(cw->transform_bg_obj, vertices, zoom);
Eina_Bool transform_set = EINA_FALSE;
API_ENTRY;
EINA_SAFETY_ON_NULL_RETURN(cw->ec);
- if (cw->ec->input_only) return;
transform_set = !!set;
{
API_ENTRY;
EINA_SAFETY_ON_NULL_RETURN(cw->ec);
- if (cw->ec->input_only) return;
if (!cw->transform_tranp_obj) return;
_e_comp_object_transform_obj_map_set(cw->transform_tranp_obj, vertices);
{
API_ENTRY;
EINA_SAFETY_ON_NULL_RETURN(cw->ec);
- if (cw->ec->input_only) return;
if (!cw->transform_tranp_obj) return;
_e_comp_object_transform_obj_map_set_with_zoom(cw->transform_tranp_obj, vertices, zoom);
API_ENTRY;
EINA_SAFETY_ON_NULL_RETURN(cw->ec);
E_Comp_Config *conf = e_comp_config_get();
- if (cw->ec->input_only) return;
if (!conf->dim_rect_enable) return;
cw->dim.mask_set = mask_set;
API_ENTRY;
EINA_SAFETY_ON_NULL_RETURN(cw->ec);
E_Comp_Config *conf = e_comp_config_get();
- if (cw->ec->input_only) return;
if (!conf->dim_rect_enable) return;
mask_set = !!set;
API_ENTRY EINA_FALSE;
EINA_SAFETY_ON_NULL_RETURN_VAL(cw->ec, EINA_FALSE);
- if (cw->ec->input_only) return EINA_FALSE;
if (cw->external_content) return EINA_FALSE;
if (e_comp_object_content_type_get(cw->ec->frame) != E_COMP_OBJECT_CONTENT_TYPE_INT_IMAGE) return EINA_FALSE;