if(!tab->events_request_pending)
{
- /* Redraw has +20 priority. We want a prio higher than that, so +19 */
- g_idle_add_full((G_PRIORITY_HIGH_IDLE + 19),
+ /* Redraw has +20 priority. We want to let the redraw be done while we do
+ * our job. */
+ g_idle_add_full((G_PRIORITY_HIGH_IDLE + 21),
(GSourceFunc)execute_events_requests,
tab,
NULL);