commit c24f1dece9e6199bd2809910abd6e4273ba4fd64
parent d4ab63ffdc0582655e9e7daba800d9e1f9d7273b
Author: Anthony Martin <ality@suckless.org>
Date: Thu, 15 Feb 2007 02:32:02 -0800
All clients should behave like sel when their ctl file is read
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/fs.c b/fs.c
@@ -401,6 +401,7 @@ lookup_file(FileId *parent, char *name)
last = &file->next;
file->content.client = c;
file->id = c->win;
+ file->index = c->win;
file->tab = *dir;
file->tab.name = emallocz(16);
snprintf(file->tab.name, 16, "0x%x", (uint)c->win);