ref: 87fca361f72e5f583002fca4d308152e55b3ad28
parent: 20b4f55603ffc2c31d30760f86595cf46b75c40b
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Tue Aug 21 20:11:42 EDT 2012
rio: rect outside screen counts as covered wcovered()
--- a/sys/src/cmd/rio/rio.c
+++ b/sys/src/cmd/rio/rio.c
@@ -662,6 +662,8 @@
if(Dx(r) < font->height || Dy(r) < font->height)
return 1;
+ if(!rectclip(&r, screen->r))
+ return 1;
for(; i<nwindow; i++){t = window[i];
if(t == w || t->topped <= w->topped || t->deleted)
--
⑨