Call present after clearing repaint_needed

In case we end up scheduling a repaint in the finish_frame callback.
dev
Kristian Høgsberg 14 years ago
parent cfc6d27b4c
commit 04db9fa583
  1. 3
      compositor/compositor.c

@ -578,9 +578,8 @@ repaint(void *data)
wl_list_for_each(output, &ec->output_list, link)
wlsc_output_repaint(output);
ec->present(ec);
ec->repaint_needed = 0;
ec->present(ec);
}
void

Loading…
Cancel
Save