[gtk+/client-side-windows: 258/284] Fix order of outstanding moves in queue



commit fb3032af04ef1adae0457325c3ad85c6eb24280d
Author: Alexander Larsson <alexl redhat com>
Date:   Sun Feb 8 09:00:57 2009 +0100

    Fix order of outstanding moves in queue
    
    The last added move should be done last, so we need to append moves
    not prepend
---
 gdk/gdkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index d8ced4d..56a6035 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -2544,7 +2544,7 @@ append_move_region (GdkWindowObject *impl_window,
   move->dy = dy;
 
   impl_window->outstanding_moves =
-    g_list_prepend (impl_window->outstanding_moves, move);
+    g_list_append (impl_window->outstanding_moves, move);
 }
 
 /* Moves bits and update area by dx/dy in impl window */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]