commit 7169bac85cbf3c91e26f67aa3174e46c169bdb8e
parent 1c637379eac275f00d428d4073daf872cbc77f56
Author: Kris Maglione <bsdaemon@wmii.de>
Date: Tue, 27 Jun 2006 05:58:40 -0400
Redraw the bar on removal or bars
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/cmd/wm/fs.c b/cmd/wm/fs.c
@@ -804,6 +804,7 @@ fs_create(P9Req *r) {
f = lookup_file(f, r->ifcall.name);
if(!f)
return respond(r, Enofile);
+
r->ofcall.qid.type = f->tab.qtype;
r->ofcall.qid.path = QID(f->tab.type, f->id);
f->next = r->fid->aux;
@@ -822,6 +823,7 @@ fs_remove(P9Req *r) {
return respond(r, Enoperm);
case FsFBar:
destroy_bar(f->next->bar_p, f->bar);
+ draw_bar();
respond(r, nil);
break;
}