[hackers] [wmii] Last commit done right.

From: Kris Maglione <jg_AT_suckless.org>
Date: Fri Feb 09 03:35:30 2007

changeset: 1794:3b15b370853b
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Thu Feb 08 21:32:47 2007 -0500
summary: Last commit done right.

diff -r 8340453daec9 -r 3b15b370853b area.c
--- a/area.c Thu Feb 08 21:26:45 2007 -0500
+++ b/area.c Thu Feb 08 21:32:47 2007 -0500
@@ -267,13 +267,10 @@ detach_from_area(Area *a, Frame *f) {
         c = f->client;
 
         for(pr = a->frame; pr; pr = pr->anext)
- if(pr->next == f) break;
+ if(pr->anext == f) break;
         remove_frame(f);
- if(a->sel == f) {
+ if(a->sel == f)
                 a->sel = pr;
- if(f->anext)
- a->sel = f->anext;
- }
 
         if(!a->floating) {
                 if(a->frame)
Received on Fri Feb 09 2007 - 03:35:30 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:02 UTC