wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 4930cf53c719475b383d09deebe72d430e7aa268
parent c15122d84c4b2a48cab8d87373b73db817fe7203
Author: Kris Maglione <bsdaemon@wmii.de>
Date:   Tue, 20 Jun 2006 22:32:14 -0400

Added view to the output of /ctl


Diffstat:
cmd/wm/fs.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/cmd/wm/fs.c b/cmd/wm/fs.c @@ -301,6 +301,8 @@ read_root_ctl() enum { BUF_SIZE = 2048 }; static char buf[BUF_SIZE]; unsigned int i = 0; + if(sel) + i += snprintf(&buf[i], (BUF_SIZE - i), "view %s\n", sel->name); i += snprintf(&buf[i], (BUF_SIZE - i), "selcolors %s\n", def.selcolor.colstr); i += snprintf(&buf[i], (BUF_SIZE - i), "normcolors %s\n", def.normcolor.colstr); i += snprintf(&buf[i], (BUF_SIZE - i), "font %s\n", def.font.fontstr);