force prerendering for internal clients

we can assume that these are always going to be ready for drawing immediately, and sometimes X fucks up the damages so it's best to go with the full frame from the beginning
This commit is contained in:
Mike Blumenkrantz 2014-01-21 18:50:00 -05:00
parent 15abb86bea
commit db7a1f6df3
2 changed files with 6 additions and 1 deletions

View File

@ -1228,7 +1228,11 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
}
if (!cw->real_hid)
evas_object_show(cw->smart_obj);
{
if (cw->ec->internal)
e_comp_object_damage(cw->smart_obj, 0, 0, cw->w, cw->h);
evas_object_show(cw->smart_obj);
}
}
static void

View File

@ -4005,6 +4005,7 @@ _e_comp_x_hook_client_new(void *d EINA_UNUSED, E_Client *ec)
ec->ignored = e_comp_ignore_win_find(win);
ec->comp_data = E_NEW(E_Comp_Client_Data, 1);
ec->comp_data->first_damage = ec->internal;
ec->comp_data->set_win_type = ec->comp_data->fetch_exe = 1;
/* FIXME: ewww - round trip */