shithub: drawterm

Download patch

ref: fee6fddeb6c78274abc9b2cffc9ce07d336ea8a1
parent: bc5528aa9eefa146f3f08a0bcba8c2a0a6b41271
author: cinap_lenrek <[email protected]>
date: Sat Nov 25 12:56:22 EST 2017

screen: do mouseresize() from devdraw instead of the resizeproc

--- a/kern/devdraw.c
+++ b/kern/devdraw.c
@@ -966,6 +966,7 @@
 		return 0;
 	screenimage = screendimage->image;
 // iprint("initscreenimage %p %p\n", screendimage, screenimage);
+	mouseresize();
 	return 1;
 }
 
--- a/kern/term.c
+++ b/kern/term.c
@@ -119,8 +119,6 @@
 		screenwin();
 		deletescreenimage();
 		resetscreenimage();
-		mouseresize();
-
 		osmsleep(1000);
 	}
 }