Browse Source

applied the saner patch (removed the pathetic one)

Anselm R.Garbe 19 năm trước cách đây
mục cha
commit
aff4c787f4
1 tập tin đã thay đổi với 3 bổ sung7 xóa
  1. 3 7
      tag.c

+ 3 - 7
tag.c

@@ -37,15 +37,11 @@ void (*arrange)(Arg *) = DEFMODE;
 void
 appendtag(Arg *arg)
 {
-	Client *c = sel;
-
-	if(!c)
+	if(!sel)
 		return;
 
-	c->tags[arg->i] = True;
-	arrange(NULL);
-	focus(c);
-	restack();
+	sel->tags[arg->i] = True;
+	settitle(sel);
 }
 
 void