summaryrefslogtreecommitdiffstats
path: root/leaks.patch
blob: 68f524a11fcc25f004aebd41ef1d4793db339ad8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -up metacity-2.23.610/src/core/edge-resistance.c.leaks metacity-2.23.610/src/core/edge-resistance.c
--- metacity-2.23.610/src/core/edge-resistance.c.leaks	2008-09-14 22:39:38.000000000 -0400
+++ metacity-2.23.610/src/core/edge-resistance.c	2008-09-14 22:43:28.000000000 -0400
@@ -985,8 +985,8 @@ meta_display_compute_resistance_and_snap
       cur_window_iter = cur_window_iter->next;
     }
   /* Put 'em in bottom to top order */
-  rem_windows       = g_slist_reverse (obscuring_windows);
-  rem_win_stacking  = g_slist_reverse (window_stacking);
+  rem_windows = obscuring_windows = g_slist_reverse (obscuring_windows);
+  rem_win_stacking = window_stacking = g_slist_reverse (window_stacking);
 
   /*
    * 3rd: loop over the windows again, this time getting the edges from