shithub: repo

Download patch

ref: 6208466abbae12d8c1b068c2cccf712f263f307b
parent: 082aaf115f0ff8de8241d834af00589ee1803c5b
author: glenda <glenda@p>
date: Tue Jan 1 20:30:58 EST 2019

commit

--- /dev/null
+++ b/README.md
@@ -1,0 +1,1 @@
+moddified version of rio
--- a/title.c
+++ b/title.c
@@ -46,7 +46,7 @@
 
 	#	define tit w->titler
 		w->titler_button = Rect(tit.max.x - 20, tit.min.y + 4, tit.max.x - 6, tit.max.y - 4);
-	#	#undef tit
+	#	undef tit
 
 		p.x = sr.min.x + 5;
 		p.y = sr.min.y - 20;
@@ -60,14 +60,9 @@
 	
 	draw(w->titlei, w->titlei->r, col[Colhigh], nil, ZP);
 	string(w->titlei, p, col[Coltext], p, display->defaultfont, w->label);
-	//draw(w->titlei, w->titler_button, col[Coltext], nil, ZP);
 	c.x = w->titler.max.x - 20;
 	c.y = w->titler.min.y + 18;
 	w->titler_button = Rect(w->titler.max.x - 46, w->titler.min.y + 13,
 						    w->titler.max.x - 13, w->titler.max.y - 8);
-	//fillellipse(w->titlei, c, 6, 6, col[Coltext], ZP);
 	draw(w->titlei, w->titler_button, col[Coltext], nil, ZP);
-	draw_tits();
-
-
 }
--- a/wind.c
+++ b/wind.c
@@ -51,7 +51,7 @@
 		if(w->titlei != nil)
 			topwindow(w->titlei);
 		flushimage(display, 1);
-		wtitledraw(w);
+		draw_tits();
 	}
 }
 
@@ -64,7 +64,7 @@
 		if(w->titlei != nil)
 			bottomwindow(w->titlei);
 		flushimage(display, 1);
-		wtitledraw(w);
+		draw_tits();
 	}
 }
 
@@ -387,7 +387,6 @@
 		wborder(w, Unselborder);
 	flushimage(display, 1);
 	wsetname(w);
-	wtitledraw(w);
 	w->topped = ++topped;
 	w->resized = TRUE;
 	w->winnameread = FALSE;
@@ -407,6 +406,7 @@
 	else
 		wborder(w, Unselborder);
 	wtitledraw(w);
+	draw_tits();
 
 }
 
--