[hackers] wmii: new tip (= 1740)

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Mon, 05 Feb 2007 08:10:03 +0100

changeset: 1740:c4125d9284a4
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Mon Feb 05 02:09:14 2007 -0500
files: frame.c
description:
Fixed that swapping bug again, I hope.

diff -r 2bed97c82408 -r c4125d9284a4 frame.c
--- a/frame.c Mon Feb 05 01:54:39 2007 -0500
+++ b/frame.c Mon Feb 05 02:09:14 2007 -0500
@@ -76,11 +76,10 @@ swap_frames(Frame *fa, Frame *fb) {
                 if(*fp_b == fb) break;
 
         ft = fa->anext;
+ *fp_a = fb;
         fa->anext = fb->anext;
+ *fp_b = fa;
         fb->anext = ft;
-
- *fp_a = fb;
- *fp_b = fa;
 
         fb->area = fa->area;
         fa->area = a;
Received on Mon Feb 05 2007 - 08:10:03 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:54:53 UTC