[PATCH weston] toytoolkit: Process deferred tasks on fifo order instead
Tiago Vignatti
tiago.vignatti at intel.com
Thu Sep 27 04:46:23 PDT 2012
Signed-off-by: Tiago Vignatti <tiago.vignatti at intel.com>
---
clients/window.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clients/window.c b/clients/window.c
index 93d2282..08828c2 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -3980,7 +3980,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);
--
1.7.9.5
More information about the wayland-devel
mailing list