shithub: riscv

Download patch

ref: f785d4da07349c7bb250eb00a3f2bed3eb170828
parent: 7c3bbc31680ec7d1b36e3c3e841c06a896e76415
author: mischief <mischief@offblast.org>
date: Mon Aug 17 21:24:22 EDT 2015

aux/statusbar: use title as rio window title (thanks qrstuv)

--- a/sys/src/cmd/aux/statusbar.c
+++ b/sys/src/cmd/aux/statusbar.c
@@ -204,7 +204,7 @@
 		textmode = 1;
 		rbar = Rect(0, 0, 60, 1);
 	}else{
-		if(initdraw(0, 0, "bar") < 0)
+		if(initdraw(0, 0, title) < 0)
 			exits("initdraw");
 		initcolor();
 		einit(Emouse|Ekeyboard);