Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2006/0330/3

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


rio: handle greyscale fonts better
 [rsc] --rw-rw-r-- M 76409 glenda sys 33445 Mar 30 07:59 sys/src/cmd/rio/wind.c
	/n/sourcesdump/2006/0330/plan9/sys/src/cmd/rio/wind.c:709,716 - 
	/n/sourcesdump/2006/0331/plan9/sys/src/cmd/rio/wind.c:709,719
	  wrepaint(Window *w)
	  {
	  	wsetcols(w);
	- 	if(!w->mouseopen)
	+ 	if(!w->mouseopen){
	+ 		if(font->maxdepth > 1)
	+ 			draw(w->Frame.b, w->Frame.r, cols[BACK], nil, ZP);
	  		_frredraw(w, w->Frame.r.min);
	+ 	}
	  	if(w == input){
	  		wborder(w, Selborder);
	  		wsetcursor(w, 0);


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].