changeset: 2163:08c51f7f92c9
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Mon Jun 18 18:43:11 2007 -0400
summary: Fix bar initialization in rc.wmii.
diff -r 42fa9c3d1cce -r 08c51f7f92c9 cmd/wmii/fs.c
--- a/cmd/wmii/fs.c Sun Jun 17 20:16:30 2007 -0400
+++ b/cmd/wmii/fs.c Mon Jun 18 18:43:11 2007 -0400
@@ -931,7 +931,7 @@ fs_flush(Ixp9Req *r) {
Ixp9Req **i, **j;
for(i=&peventread; i != &oeventread; i=&oeventread)
- for(j=i; *j; j=(Ixp9Req **)&(*j)->aux)
+ for(j=i; *j; j=(Ixp9Req**)&(*j)->aux)
if(*j == r->oldreq) {
*j = (*j)->aux;
respond(r->oldreq, Einterrupted);
diff -r 42fa9c3d1cce -r 08c51f7f92c9 rc/rc.wmii.rc
--- a/rc/rc.wmii.rc Sun Jun 17 20:16:30 2007 -0400
+++ b/rc/rc.wmii.rc Mon Jun 18 18:43:11 2007 -0400
@@ -231,7 +231,7 @@ ifs='#
ifs='#
'{ for(bar in `{comm -23 <{wmiir ls /lbar} <{read_tags}})
wmiir remove /lbar/$bar
- seltag=`{wmiir read /tag/sel/ctl}
+ seltag=`{wmiir read /tag/sel/ctl | sed 1q}
for(tag in `{read_tags}) {
if(~ $tag $seltag)
echo $WMII_FOCUSCOLORS `{viewtitle $tag} | wmiir create /lbar/$tag
Received on Tue Jun 19 2007 - 00:43:39 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:57:20 UTC