#ifdef EC_IS_NOT_VISIBLE
# undef EC_IS_NOT_VISIBLE
#endif
-#define EC_IS_NOT_VISIBLE if (ec->visibility.obscured != E_VISIBILITY_UNOBSCURED)
+#define EC_IS_NOT_VISIBLE if (e_client_visibility_get(ec) != E_VISIBILITY_UNOBSCURED)
EINTERN Eina_Bool
e_client_visibility_touched_check(E_Client *ec)
{
EINA_SAFETY_ON_NULL_RETURN(ec);
- if (ec->visibility.obscured == visibility) return;
+ if (e_client_visibility_get(ec) == visibility) return;
ec->visibility.obscured = visibility;
}
if (ec->show_pending.running)
{
// need to send visibility false;
- ec->visibility.obscured = E_VISIBILITY_UNOBSCURED;
+ e_client_visibility_set(ec, E_VISIBILITY_UNOBSCURED);
ELOGF("POL_VIS", "CLIENT VIS ON (fake). argb:%d, opaque:%2d", ec, ec->argb, ec->visibility.opaque);
EC_CHANGED(ec);
}
struct wl_resource *surface = e_comp_wl_client_surface_get(ec);
if (!surface) return;
- if ((!need_send_motion) && (!need_send_released) && (ec->visibility.obscured == E_VISIBILITY_FULLY_OBSCURED)) return;
+ if ((!need_send_motion) && (!need_send_released) && (e_client_visibility_get(ec) == E_VISIBILITY_FULLY_OBSCURED)) return;
dev = ev->dev;
dev_name = evas_device_description_get(dev);
if (!_ec->frame) continue;
if (!_ec->visible) continue;
if (_ec->visibility.skip) continue;
- if ((_ec->visibility.obscured != E_VISIBILITY_UNOBSCURED) &&
- (_ec->visibility.obscured != E_VISIBILITY_PARTIALLY_OBSCURED))
+ if ((e_client_visibility_get(_ec) != E_VISIBILITY_UNOBSCURED) &&
+ (e_client_visibility_get(_ec) != E_VISIBILITY_PARTIALLY_OBSCURED))
continue;
if (e_comp_wl_subsurface_check(_ec)) continue;
if (provider->vis_ref == 1)
{
- provider->common.ec->visibility.obscured = E_VISIBILITY_UNOBSCURED;
+ e_client_visibility_set(provider->common.ec, E_VISIBILITY_UNOBSCURED);
_remote_provider_visible_event_send(provider);
e_policy_client_visibility_send(provider->common.ec);
if (provider->vis_ref == 0)
{
- provider->common.ec->visibility.obscured = E_VISIBILITY_FULLY_OBSCURED;
+ e_client_visibility_set(provider->common.ec, E_VISIBILITY_FULLY_OBSCURED);
_remote_provider_visible_event_send(provider);
e_policy_client_visibility_send(provider->common.ec);
if (e_policy_visibility_client_grab_cancel(ec))
{
ELOGF("POL_VIS", "CLIENT VIS ON(temp).", ec);
- ec->visibility.obscured = E_VISIBILITY_UNOBSCURED;
+ e_client_visibility_set(ec, E_VISIBILITY_UNOBSCURED),
ec->visibility.changed = 1;
}
EINA_LIST_FOREACH(sd->clients, l, ec)
{
- if ((ec->visibility.obscured == E_VISIBILITY_UNOBSCURED) ||
+ if ((e_client_visibility_get(ec) == E_VISIBILITY_UNOBSCURED) ||
(e_comp_wl_subsurface_check(ec)))
_e_desk_client_zoom(ec, zoomx, zoomy, cx, cy);
}
if (!ec->visible) continue;
if (ec->netwm.type == E_WINDOW_TYPE_DESKTOP) continue;
if (e_client_desk_iconify_skip_get(ec)) continue;
- if (ec->visibility.obscured == E_VISIBILITY_UNKNOWN) continue;
- if (ec->visibility.obscured != E_VISIBILITY_UNOBSCURED)
+ if (e_client_visibility_get(ec) == E_VISIBILITY_UNKNOWN) continue;
+ if (e_client_visibility_get(ec) != E_VISIBILITY_UNOBSCURED)
{
if (e_client_is_iconified_by_client(ec))
continue;
if (!(cec = e_client_check_obscured_by_children_group(ec)) ||
e_client_check_really_iconified(cec))
{
- if (ec->visibility.obscured != E_VISIBILITY_UNOBSCURED) continue;
+ if (e_client_visibility_get(ec) != E_VISIBILITY_UNOBSCURED) continue;
if (e_client_check_fully_contain_by_above(ec, EINA_FALSE)) continue;
}
static Eina_Bool
_e_focus_policy_history_focus_can_take_by_vis_obscured(E_Focus_Policy_History *history_policy, E_Client *ec)
{
- switch (ec->visibility.obscured)
+ switch (e_client_visibility_get(ec))
{
case E_VISIBILITY_UNKNOWN:
if (e_client_check_really_iconified(ec))
if (!obscured_above)
{
if (!e_policy_visibility_client_is_uniconic(ec) ||
- (ec->visibility.obscured == E_VISIBILITY_FULLY_OBSCURED))
+ (e_client_visibility_get(ec) == E_VISIBILITY_FULLY_OBSCURED))
{
_e_focus_policy_history_focus_focus_defer_set(history_policy, focus_ec);
_focus_policy_history_focus_stack_latest_set(history_policy, focus_ec);
static Eina_Bool
_e_focus_policy_topmost_focus_can_take_by_vis_obscured(E_Client *ec)
{
- switch (ec->visibility.obscured)
+ switch (e_client_visibility_get(ec))
{
case E_VISIBILITY_UNKNOWN:
case E_VISIBILITY_FULLY_OBSCURED:
pid,
e_client_util_name_get(ec) ?: "NO NAME",
x, y, w, h, ec->layer,
- ec->visible, mapped, ec->argb, ec->visibility.opaque, ec->visibility.obscured, ec->visibility.force_obscured, iconified,
+ ec->visible, mapped, ec->argb, ec->visibility.opaque, e_client_visibility_get(ec), ec->visibility.force_obscured, iconified,
evas_object_visible_get(ec->frame), ec->focused, hwc, hwc_policy, pl_zpos, pwin, layer_name, has_input_region, transformed, ec->transient_policy,
zone_id, ec->apply_layout);
pid,
e_client_util_name_get(ec) ?: "NO NAME",
ec->x, ec->y, ec->w, ec->h, ec->layer,
- ec->visible, mapped, ec->argb, ec->visibility.opaque, ec->visibility.obscured, ec->visibility.force_obscured, iconified,
+ ec->visible, mapped, ec->argb, ec->visibility.opaque, e_client_visibility_get(ec), ec->visibility.force_obscured, iconified,
evas_object_visible_get(ec->frame), ec->focused, hwc, hwc_policy, pl_zpos, pwin, layer_name, has_input_region, transformed, ec->transient_policy,
zone_id, ec->apply_layout);
if (recurse)
num_child = eina_list_count(child->transients);
- if ((!child->iconic) && (!child->visibility.obscured) &&
+ if ((!child->iconic) && (!e_client_visibility_get(child)) &&
evas_object_visible_get(ec->frame))
_e_info_server_ec_hwc_info_get(child, &hwc, &hwc_policy, &pl_zpos);
eldbus_message_arguments_append(reply, VALUE_TYPE_REPLY_WININFO, res_id, pid,
ec->x, ec->y, ec->w, ec->h, ec->layer, ec->visible,
- ec->argb, ec->visibility.opaque, ec->visibility.obscured,
+ ec->argb, ec->visibility.opaque, e_client_visibility_get(ec),
ec->iconic, evas_object_visible_get(ec->frame),
ec->focused, hwc, pl_zpos, (uint64_t)pwin,
layer_name, xright, ybelow, ec->border_size,
#include "e_utils_intern.h"
#include "e_screensaver_intern.h"
#include "e_config_intern.h"
+#include "e_client_intern.h"
#include <tizen-extension-server-protocol.h>
while (ec_top)
{
- if (ec_top->visibility.obscured != E_VISIBILITY_UNOBSCURED)
+ if (e_client_visibility_get(ec_top) != E_VISIBILITY_UNOBSCURED)
{
if (ec_top == ec_focus)
{
if (e_client_util_ignored_get(ec)) continue;
if (ec->iconic) continue;
if (ec->visible == 0) continue;
- if (!(ec->visibility.obscured == 0 || ec->visibility.obscured == 1)) continue;
+ if (!(e_client_visibility_get(ec) == 0 || e_client_visibility_get(ec) == 1)) continue;
if (!ec->frame) continue;
if (!evas_object_visible_get(ec->frame)) continue;
if (e_comp_wl_subsurface_check(ec)) continue;
if (e_client_util_ignored_get(ec)) continue;
if (ec->iconic) continue;
if (ec->visible == 0) continue;
- if (!(ec->visibility.obscured == 0 || ec->visibility.obscured == 1)) continue;
+ if (!(e_client_visibility_get(ec) == 0 || e_client_visibility_get(ec) == 1)) continue;
if (!ec->frame) continue;
if (!evas_object_visible_get(ec->frame)) continue;
if (e_comp_wl_subsurface_check(ec)) continue;
{
ec->hidden = 1;
ec->visible = EINA_FALSE;
- ec->visibility.obscured = E_VISIBILITY_FULLY_OBSCURED;
+ e_client_visibility_set(ec, E_VISIBILITY_FULLY_OBSCURED);
ec->comp_data->mapped = EINA_FALSE;
ec->override = 1; /* ignore the previous cursor_ec */
}
{
ec->hidden = 0;
ec->visible = EINA_TRUE;
- ec->visibility.obscured = E_VISIBILITY_UNOBSCURED;
+ e_client_visibility_set(ec, E_VISIBILITY_UNOBSCURED);
evas_object_geometry_set(ec->frame, ec->x, ec->y, ec->w, ec->h);
ec->comp_data->mapped = EINA_TRUE;
ec->override = 0; /* do not ignore the cursor_ec to set the image object */
if (ec->visibility.changed)
{
- if (ec->visibility.obscured == E_VISIBILITY_UNOBSCURED)
+ if (e_client_visibility_get(ec) == E_VISIBILITY_UNOBSCURED)
{
e_policy_client_uniconify_by_visibility(ec);
if ((ec->iconic == 0) && (ec->exp_iconify.last_sent_iconic != 0))
}
else
{
- if (ec->visibility.obscured == E_VISIBILITY_FULLY_OBSCURED)
+ if (e_client_visibility_get(ec) == E_VISIBILITY_FULLY_OBSCURED)
{
Eina_Bool obscured_by_alpha_opaque = EINA_FALSE;
Eina_Bool find_above = EINA_FALSE;
if ((child_ec->exp_iconify.skip_iconify == EINA_TRUE) ||
(child_ec->exp_iconify.skip_by_remote == EINA_TRUE))
{
- if (child_ec->visibility.obscured == E_VISIBILITY_UNOBSCURED)
+ if (e_client_visibility_get(child_ec) == E_VISIBILITY_UNOBSCURED)
{
ELOGF("Find visible child", "ancestor(win:0x%08zx, ec:%p), child(win:0x%08zx, ec:%p)",
ec,
}
else
{
- if ((!child_ec->iconic && (child_ec->visibility.obscured != E_VISIBILITY_UNKNOWN)) ||
- (child_ec->visibility.obscured == E_VISIBILITY_UNOBSCURED))
+ if ((!child_ec->iconic && (e_client_visibility_get(child_ec) != E_VISIBILITY_UNKNOWN)) ||
+ (e_client_visibility_get(child_ec) == E_VISIBILITY_UNOBSCURED))
{
ELOGF("Find visible child", "ancestor(win:0x%08zx, ec:%p), child(win:0x%08zx, ec:%p, iconic:%d, vis:%d)",
ec,
e_client_util_win_get(ancestor_ec), ancestor_ec,
- e_client_util_win_get(child_ec), child_ec, child_ec->iconic, child_ec->visibility.obscured);
+ e_client_util_win_get(child_ec), child_ec, child_ec->iconic, e_client_visibility_get(child_ec));
return EINA_TRUE;
}
}
continue;
else
{
- if (above_ec->visibility.obscured == E_VISIBILITY_UNOBSCURED)
+ if (e_client_visibility_get(above_ec) == E_VISIBILITY_UNOBSCURED)
{
alpha_opaque = EINA_TRUE;
}
/* if client has obscured parent, try to iconify the parent also */
if (ec->parent)
{
- if (ec->parent->visibility.obscured == E_VISIBILITY_FULLY_OBSCURED)
+ if (e_client_visibility_get(ec->parent) == E_VISIBILITY_FULLY_OBSCURED)
{
e_policy_client_iconify_by_visibility(ec->parent);
if (ec->parent == below_ec) break;
if (!below_ec->iconic) break;
- if (below_ec->visibility.obscured == E_VISIBILITY_FULLY_OBSCURED)
+ if (e_client_visibility_get(below_ec) == E_VISIBILITY_FULLY_OBSCURED)
{
e_policy_client_uniconify_by_visibility(below_ec);
}
EINTERN void
e_policy_client_visibility_send(E_Client *ec)
{
- e_policy_wl_visibility_send(ec, ec->visibility.obscured);
+ e_policy_wl_visibility_send(ec, e_client_visibility_get(ec));
}
EINTERN void
e_client_geometry_get(above, &ax, &ay, &aw, &ah);
if (!E_CONTAINS(ax, ay, aw, ah, ex, ey, ew, eh)) continue;
- if (above->visibility.obscured == E_VISIBILITY_UNOBSCURED)
+ if (e_client_visibility_get(above) == E_VISIBILITY_UNOBSCURED)
{
if (!above->argb)
above_vis_type = E_POL_VIS_TYPE_NON_ALPHA;
if (ec->bg_state) return EINA_FALSE;
if (ec->comp_data && !ec->comp_data->mapped) return EINA_FALSE;
if ((ec->argb) && (ec->visibility.opaque <= 0)) return EINA_FALSE;
- if (ec->visibility.obscured != E_VISIBILITY_UNOBSCURED) return EINA_FALSE;
+ if (e_client_visibility_get(ec) != E_VISIBILITY_UNOBSCURED) return EINA_FALSE;
if (!ec->visible) return EINA_FALSE;
return EINA_TRUE;
if (topmost->pixmap && e_pixmap_usable_get(topmost->pixmap))
{
if ((e_policy_visibility_client_is_uniconic(topmost)) &&
- (topmost->visibility.obscured == E_VISIBILITY_UNOBSCURED))
+ (e_client_visibility_get(topmost) == E_VISIBILITY_UNOBSCURED))
{
ELOGF("COMP", "Already child(win:0x%08zx ec:%p) uniconify_render done..", ec, e_client_util_win_get(topmost), topmost);
return EINA_TRUE;
if (eina_list_data_find(polwl->pending_vis, ec))
{
- e_policy_wl_visibility_send(ec, ec->visibility.obscured);
+ e_policy_wl_visibility_send(ec, e_client_visibility_get(ec));
}
}
if (e_object_is_del(E_OBJECT(ec)))
ec_visibility = E_VISIBILITY_FULLY_OBSCURED;
else
- ec_visibility = ec->visibility.obscured;
+ ec_visibility = e_client_visibility_get(ec);
EINA_LIST_FOREACH(polwl->tz_dpy_pols, l, tz_dpy_pol)
{
if (!ec->visible) continue;
if (ec->visibility.skip) continue;
- if ((ec->visibility.obscured != E_VISIBILITY_UNOBSCURED) &&
- (ec->visibility.obscured != E_VISIBILITY_PARTIALLY_OBSCURED) &&
+ if ((e_client_visibility_get(ec) != E_VISIBILITY_UNOBSCURED) &&
+ (e_client_visibility_get(ec) != E_VISIBILITY_PARTIALLY_OBSCURED) &&
(!eina_list_data_find(e_comp->launchscrns, ec)))
continue;
#include "e_policy_wl_display_intern.h"
#include "e_dbus_conn_intern.h"
+#include "e_client_intern.h"
typedef struct _E_Display_Dbus_Info
{
if (e_object_is_del(E_OBJECT(ec)))
ec_visibility = E_VISIBILITY_FULLY_OBSCURED;
else
- ec_visibility = ec->visibility.obscured;
+ ec_visibility = e_client_visibility_get(ec);
if ((ec_visibility == E_VISIBILITY_UNOBSCURED) ||
(ec_visibility == E_VISIBILITY_PARTIALLY_OBSCURED))
return ECORE_CALLBACK_PASS_ON;
}
- if (ec->visibility.obscured == E_VISIBILITY_UNOBSCURED)
+ if (e_client_visibility_get(ec) == E_VISIBILITY_UNOBSCURED)
_e_process_thaw(pid);
- else if (ec->visibility.obscured == E_VISIBILITY_FULLY_OBSCURED)
+ else if (e_client_visibility_get(ec) == E_VISIBILITY_FULLY_OBSCURED)
{
if (_e_process_windows_visible_get(pid, &visible))
{
{
if (ec->visibility.changed)
{
- if (ec->visibility.obscured == E_VISIBILITY_UNOBSCURED)
+ if (e_client_visibility_get(ec) == E_VISIBILITY_UNOBSCURED)
{
_e_process_thaw(ec->netwm.pid);
}
pinfo = _e_process_find(_e_process_manager, pid);
if (!pinfo) goto intercept_hide_done;
- if (ec->visibility.obscured != E_VISIBILITY_FULLY_OBSCURED)
+ if (e_client_visibility_get(ec) != E_VISIBILITY_FULLY_OBSCURED)
goto intercept_hide_done;
if (pinfo->state == E_PROCESS_STATE_BACKGROUND)
ec->visible,
evas_object_visible_get(ec->frame),
ec->visibility.opaque,
- ec->visibility.obscured,
+ e_client_visibility_get(ec),
ec->visibility.skip,
ec->iconic ? (e_client_is_iconified_by_client(ec) ? 2 : 1) : 0,
if (reg_win == NULL) return ECORE_CALLBACK_PASS_ON;
- if (reg_win->vis != !ec->visibility.obscured)
- _e_test_helper_send_change_visibility(win, !ec->visibility.obscured);
+ if (reg_win->vis != !e_client_visibility_get(ec))
+ _e_test_helper_send_change_visibility(win, !e_client_visibility_get(ec));
- reg_win->vis = !ec->visibility.obscured;
+ reg_win->vis = !e_client_visibility_get(ec);
return ECORE_CALLBACK_PASS_ON;
}
#ifdef EC_IS_NOT_VISIBLE
# undef EC_IS_NOT_VISIBLE
#endif
-#define EC_IS_NOT_VISIBLE if (ec->visibility.obscured != E_VISIBILITY_UNOBSCURED)
+#define EC_IS_NOT_VISIBLE if (e_client_visibility_get(ec) != E_VISIBILITY_UNOBSCURED)
EINTERN Eina_Bool
e_zone_visibility_calculate(E_Zone *zone)
if (!e_zone_is_displaying(zone))
{
- if ((ec->visibility.obscured == E_VISIBILITY_FULLY_OBSCURED) &&
+ if ((e_client_visibility_get(ec) == E_VISIBILITY_FULLY_OBSCURED) &&
(ec->visibility.last_sent_type != E_VISIBILITY_FULLY_OBSCURED))
{
ec->visibility.changed = 1;
((effect_running) && (!is_launching_effect))))
{
/* previous state is obscured: -1 or 1 */
- ec->visibility.obscured = E_VISIBILITY_UNOBSCURED;
+ e_client_visibility_set(ec, E_VISIBILITY_UNOBSCURED);
ec->visibility.changed = 1;
ELOGF("POL_VIS", "CLIENT VIS ON. argb:%d, opaque:%2d, frame_v:%d, ignore_geometry:%d, cdata:%p, geo(%d,%d,%dx%d), asp:%d, er:%d, le:%d", ec, ec->argb, ec->visibility.opaque, ec_frame_visible, ec->visibility.ignore_geometry, cdata, x, y, w, h, is_above_show_pending, effect_running, is_launching_effect);
}
(iconified_by_client))
{
/* obscured case */
- if (ec->visibility.obscured != E_VISIBILITY_FULLY_OBSCURED)
+ if (e_client_visibility_get(ec) != E_VISIBILITY_FULLY_OBSCURED)
{
/* previous state is unobscured: -1 or 0 */
- ec->visibility.obscured = E_VISIBILITY_FULLY_OBSCURED;
+ e_client_visibility_set(ec, E_VISIBILITY_FULLY_OBSCURED);
ec->visibility.changed = 1;
ELOGF("POL_VIS", "CLIENT VIS OFF. argb:%d, opaque:%2d, frame_v:%d, canvas_v:%d, calc_r:%d(%d), ignore_geometry:%d, show_p:%d, geo(%d,%d,%dx%d)",
ec, ec->argb, ec->visibility.opaque,
if (ec == touched_ec)
touched_win_changed = EINA_TRUE;
- if (ec->visibility.obscured == E_VISIBILITY_UNOBSCURED)
+ if (e_client_visibility_get(ec) == E_VISIBILITY_UNOBSCURED)
{
if (e_comp_wl->touch.pressed && !touched_win_changed && !e_policy_client_is_keyboard_sub(ec))
{
"Recieved request(launcher_launch) appid:%s instance id:%s pid:%d",
lc->ec, app_id?:"NONE", instance_id?:"NONE", pid);
- EINA_SAFETY_ON_TRUE_GOTO(lc->ec->visibility.obscured == E_VISIBILITY_FULLY_OBSCURED, send_stop);
+ EINA_SAFETY_ON_TRUE_GOTO(e_client_visibility_get(lc->ec) == E_VISIBILITY_FULLY_OBSCURED, send_stop);
EINA_SAFETY_ON_TRUE_GOTO((pid < 0) && !(app_id) , send_stop);
//check current state of lc
"Recieved request(launcher_launch_with_shared_widget) appid:%s instance id:%s pid:%d",
lc->ec, app_id?:"NONE", instance_id?:"NONE", pid);
- EINA_SAFETY_ON_TRUE_GOTO(lc->ec->visibility.obscured == E_VISIBILITY_FULLY_OBSCURED, send_stop);
+ EINA_SAFETY_ON_TRUE_GOTO(e_client_visibility_get(lc->ec) == E_VISIBILITY_FULLY_OBSCURED, send_stop);
EINA_SAFETY_ON_TRUE_GOTO((pid < 0) && !(app_id), send_stop);
// check current state of lc
}
if (!lc) return EINA_FALSE;
- if (ec->visibility.obscured != E_VISIBILITY_UNOBSCURED) return EINA_FALSE;
+ if (e_client_visibility_get(ec) != E_VISIBILITY_UNOBSCURED) return EINA_FALSE;
if (ec == lc->launched_ec)
{
}
if (!lc) return EINA_FALSE;
- if (ec->visibility.obscured != E_VISIBILITY_UNOBSCURED) return EINA_FALSE;
+ if (e_client_visibility_get(ec) != E_VISIBILITY_UNOBSCURED) return EINA_FALSE;
if (ec == lc->launched_ec)
{
EINA_SAFETY_ON_NULL_RETURN_VAL(ev->ec, ECORE_CALLBACK_PASS_ON);
ec = ev->ec;
- if (ec->visibility.obscured != E_VISIBILITY_UNOBSCURED)
+ if (e_client_visibility_get(ec) != E_VISIBILITY_UNOBSCURED)
return ECORE_CALLBACK_PASS_ON;
pre_runner = _launcher_handler_launcher_pre_runner_get();
#include "iface/e_video_fallback_intern.h"
#include "e_comp_wl_rsm_intern.h"
#include "e_eom_intern.h"
+#include "e_client_intern.h"
#define EO_DATA_KEY "E_Client_Video"
int obscured;
ec = ecv->ec;
- obscured = ec->visibility.obscured;
+ obscured = e_client_visibility_get(ec);
VIN("Signal visibility change event of video, type %d",
ec, obscured);
E_Client *ec;
ec = ecv->ec;
- if (ec->visibility.obscured == vis)
+ if (e_client_visibility_get(ec) == vis)
return;
- ec->visibility.obscured = vis;
+ e_client_visibility_set(ec, vis);
_e_client_video_visibility_event_send(ecv);
}
if (ev->ec != topmost)
goto end;
- _e_client_video_visibility_set(ecv, topmost->visibility.obscured);
+ _e_client_video_visibility_set(ecv, e_client_visibility_get(topmost));
end:
return ECORE_CALLBACK_PASS_ON;
if (ev->ec != offscreen_parent)
goto end;
- switch (ev->ec->visibility.obscured)
+ switch (e_client_visibility_get(ev->ec))
{
case E_VISIBILITY_FULLY_OBSCURED:
evas_object_hide(ecv->ec->frame);
if (topmost1 && topmost2)
{
if (topmost1 == topmost2)
- _e_client_video_visibility_set(ecv, topmost1->visibility.obscured);
+ _e_client_video_visibility_set(ecv, e_client_visibility_get(topmost1));
}
}
#include "e_zone_video_intern.h"
#include "e_comp_wl_viewport_intern.h"
#include "e_utils_intern.h"
+#include "e_client_intern.h"
#include <tizen-extension-server-protocol.h>
return ECORE_CALLBACK_PASS_ON;
ec = ev->ec;
- switch (ec->visibility.obscured)
+ switch (e_client_visibility_get(ec))
{
case E_VISIBILITY_FULLY_OBSCURED:
evas_object_hide(ec->frame);
#include "e_comp_wl_video_buffer_intern.h"
#include "e_util_video_intern.h"
#include "e_video_debug_intern.h"
+#include "e_client_intern.h"
#include <wayland-tbm-server.h>
return EINA_TRUE;
offscreen_parent = _e_video_hwc_client_offscreen_parent_get(ec);
- if (offscreen_parent && offscreen_parent->visibility.obscured == E_VISIBILITY_FULLY_OBSCURED)
+ if (offscreen_parent && e_client_visibility_get(offscreen_parent) == E_VISIBILITY_FULLY_OBSCURED)
{
VDB("video surface invisible: offscreen fully obscured", ec);
return EINA_FALSE;