toytoolkit: Process deferred tasks on fifo order instead

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
Tiago Vignatti 12 years ago committed by Kristian Høgsberg
parent 1428b8ccf7
commit 6f09338b0f
  1. 2
      clients/window.c

@ -3992,7 +3992,7 @@ display_run(struct display *display)
wl_display_flush(display->display);
while (!wl_list_empty(&display->deferred_list)) {
task = container_of(display->deferred_list.next,
task = container_of(display->deferred_list.prev,
struct task, link);
wl_list_remove(&task->link);
task->run(task, 0);

Loading…
Cancel
Save