From 344f3d057358b83cf4f0787973b494851262fda7 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Mon, 27 Mar 2006 09:42:22 +0200 Subject: [PATCH] fixed crashing bug --- cmd/wm/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/wm/client.c b/cmd/wm/client.c index 1ab5c2a3..d3c9becd 100644 --- a/cmd/wm/client.c +++ b/cmd/wm/client.c @@ -534,9 +534,9 @@ Swaparea: if(o == a) return; a->frame[j] = o->frame[o->sel]; - o->frame[o->sel]->area = a; + a->frame[j]->area = a; o->frame[o->sel] = f; - f->area = a; + f->area = o; arrange_column(o); } else if(!strncmp(arg, "up", 3)) {