forked from enlightenment/efl
Revert "evas: Always call show/hide intercept"
This reverts commit 936ea58cb9
.
this is an ideal change, but it breaks previously-expected behaviors
for interceptors and thus enlightenment is completely broken
This commit is contained in:
parent
aca00f8502
commit
f6c465dc59
|
@ -100,13 +100,10 @@ _evas_object_intercept_call_internal(Evas_Object *eo_obj,
|
|||
{
|
||||
case EVAS_OBJECT_INTERCEPT_CB_VISIBLE:
|
||||
i = !!va_arg(args, int);
|
||||
if (obj->interceptors)
|
||||
{
|
||||
if (i) blocked = evas_object_intercept_call_show(eo_obj, obj);
|
||||
else blocked = evas_object_intercept_call_hide(eo_obj, obj);
|
||||
}
|
||||
if (!blocked && (i == obj->cur->visible))
|
||||
blocked = 1;
|
||||
if (i == obj->cur->visible) return 1;
|
||||
if (!obj->interceptors) return 0;
|
||||
if (i) blocked = evas_object_intercept_call_show(eo_obj, obj);
|
||||
else blocked = evas_object_intercept_call_hide(eo_obj, obj);
|
||||
break;
|
||||
|
||||
case EVAS_OBJECT_INTERCEPT_CB_MOVE:
|
||||
|
|
Loading…
Reference in New Issue