force render queue and check for redirection on clients with 0x0 pixmaps
fixes an issue where resizing the current nocomp client could result in a broken compositor until a render queue was triggered
This commit is contained in:
parent
1f17ec5781
commit
ba15a571b5
|
@ -894,11 +894,12 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, int w, int h)
|
||||||
cw->ec->client.h = ih;
|
cw->ec->client.h = ih;
|
||||||
if ((cw->ec->client.w < 0) || (cw->ec->client.h < 0)) CRI("WTF");
|
if ((cw->ec->client.w < 0) || (cw->ec->client.h < 0)) CRI("WTF");
|
||||||
}
|
}
|
||||||
if ((!cw->ec->input_only) && (!e_pixmap_size_get(cw->ec->pixmap, &pw, &ph)))
|
if ((!cw->ec->input_only) && cw->redirected && (!e_pixmap_size_get(cw->ec->pixmap, &pw, &ph)))
|
||||||
{
|
{
|
||||||
/* client can't be resized if its pixmap isn't usable, try again */
|
/* client can't be resized if its pixmap isn't usable, try again */
|
||||||
e_pixmap_dirty(cw->ec->pixmap);
|
e_pixmap_dirty(cw->ec->pixmap);
|
||||||
e_comp_object_render_update_add(obj);
|
e_comp_object_render_update_add(obj);
|
||||||
|
e_comp_render_queue(cw->comp);
|
||||||
cw->ec->changes.size = 1;
|
cw->ec->changes.size = 1;
|
||||||
EC_CHANGED(cw->ec);
|
EC_CHANGED(cw->ec);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue