fix sync issue with override-redirect windows

SVN revision: 47287
This commit is contained in:
Carsten Haitzler 2010-03-16 12:30:55 +00:00
parent 92cf666bd7
commit 8d76bbaffb
1 changed files with 6 additions and 3 deletions

View File

@ -1068,9 +1068,12 @@ evas_render_updates_internal(Evas *e,
RD(" ---]\n");
}
/* flush redraws */
evas_event_callback_call(e, EVAS_CALLBACK_RENDER_FLUSH_PRE, NULL);
e->engine.func->output_flush(e->engine.data.output);
evas_event_callback_call(e, EVAS_CALLBACK_RENDER_FLUSH_POST, NULL);
if (updates)
{
evas_event_callback_call(e, EVAS_CALLBACK_RENDER_FLUSH_PRE, NULL);
e->engine.func->output_flush(e->engine.data.output);
evas_event_callback_call(e, EVAS_CALLBACK_RENDER_FLUSH_POST, NULL);
}
}
/* clear redraws */
e->engine.func->output_redraws_clear(e->engine.data.output);