forked from enlightenment/enlightenment
move comp object tiler creation to helper function to catch retries
This commit is contained in:
parent
6308846480
commit
f4e4b2fc4f
|
@ -1246,6 +1246,12 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
|
||||||
EC_CHANGED(cw->ec);
|
EC_CHANGED(cw->ec);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ((!cw->ec->input_only) && (!cw->ec->ignored) && (!cw->updates))
|
||||||
|
{
|
||||||
|
cw->updates = eina_tiler_new(cw->ec->client.w, cw->ec->client.h);
|
||||||
|
eina_tiler_tile_size_set(cw->updates, 1, 1);
|
||||||
|
}
|
||||||
if (cw->ec->input_only)
|
if (cw->ec->input_only)
|
||||||
{
|
{
|
||||||
cw->real_hid = 0;
|
cw->real_hid = 0;
|
||||||
|
@ -1320,12 +1326,6 @@ _e_comp_intercept_show(void *data, Evas_Object *obj EINA_UNUSED)
|
||||||
#endif
|
#endif
|
||||||
cw->redirected = 1;
|
cw->redirected = 1;
|
||||||
evas_object_color_set(cw->clip, ec->netwm.opacity, ec->netwm.opacity, ec->netwm.opacity, ec->netwm.opacity);
|
evas_object_color_set(cw->clip, ec->netwm.opacity, ec->netwm.opacity, ec->netwm.opacity, ec->netwm.opacity);
|
||||||
|
|
||||||
if ((!cw->ec->input_only) && (!cw->ec->ignored))
|
|
||||||
{
|
|
||||||
cw->updates = eina_tiler_new(cw->ec->client.w, cw->ec->client.h);
|
|
||||||
eina_tiler_tile_size_set(cw->updates, 1, 1);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_e_comp_intercept_show_helper(cw);
|
_e_comp_intercept_show_helper(cw);
|
||||||
|
|
Loading…
Reference in New Issue