Signed-off-by: Tiago Vignatti <[email protected]>
---
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
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel