forked from enlightenment/enlightenment
handle shaped overrides more accurately for theme and rendering
overrides don't get to do shape exports for rendering, so this needs to be done during the initial shape check
This commit is contained in:
parent
c24d3c60aa
commit
5549c1b530
|
@ -3594,12 +3594,20 @@ _e_comp_x_hook_client_fetch(void *d EINA_UNUSED, E_Client *ec)
|
|||
EC_CHANGED(ec);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (_e_comp_x_client_shape_rects_check(ec, rects, num))
|
||||
e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
|
||||
}
|
||||
ec->shaped = 1;
|
||||
ec->changes.shape_input = 0;
|
||||
E_FREE(ec->shape_input_rects);
|
||||
ec->shape_input_rects_num = 0;
|
||||
}
|
||||
free(rects);
|
||||
if (ec->comp_data->reparented || (!ec->shaped))
|
||||
free(rects);
|
||||
if (ec->shape_changed)
|
||||
e_comp_object_frame_theme_set(ec->frame, E_COMP_OBJECT_FRAME_RESHADOW);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue