dwm-meillo
diff tag.c @ 393:6786cd59468f
applied sanders patch to remove unnecessary commit()
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Thu, 31 Aug 2006 08:48:04 +0200 |
parents | 126e78129f1d |
children | 761d0cd6e504 |
line diff
1.1 --- a/tag.c Wed Aug 30 13:00:30 2006 +0200 1.2 +++ b/tag.c Thu Aug 31 08:48:04 2006 +0200 1.3 @@ -30,17 +30,6 @@ 1.4 static RReg *rreg = NULL; 1.5 static unsigned int len = 0; 1.6 1.7 -static void 1.8 -commit() 1.9 -{ 1.10 - /* asserts sel != NULL */ 1.11 - settitle(sel); 1.12 - if(!isvisible(sel)) 1.13 - arrange(NULL); 1.14 - else 1.15 - drawstatus(); 1.16 -} 1.17 - 1.18 /* extern */ 1.19 1.20 Client * 1.21 @@ -132,7 +121,7 @@ 1.22 for(i = 0; i < ntags; i++) 1.23 sel->tags[i] = False; 1.24 sel->tags[arg->i] = True; 1.25 - commit(); 1.26 + arrange(NULL); 1.27 } 1.28 1.29 void 1.30 @@ -147,5 +136,5 @@ 1.31 for(i = 0; i < ntags && !sel->tags[i]; i++); 1.32 if(i == ntags) 1.33 sel->tags[arg->i] = True; 1.34 - commit(); 1.35 + arrange(NULL); 1.36 }