git: 9front

Download patch

ref: 4293adf9ce45f4d4f4eed87a170fea3b761234c0
parent: a9f6c46fa49ec114f8178bb9df81550bf18d5151
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Sep 3 13:30:58 EDT 2022

zynq: correctly specify dolock flag to postnote()

--- a/sys/src/9/zynq/screen.c
+++ b/sys/src/9/zynq/screen.c
@@ -155,7 +155,7 @@
 			incref(s);
 		}
 		if(hwcursor.proc != nil){
-			postnote(hwcursor.proc, 0, "die", NUser);
+			postnote(hwcursor.proc, 1, "die", NUser);
 			while(hwcursor.proc != nil)
 				sched();
 		}
@@ -271,7 +271,7 @@
 			incref(s);
 		}
 		if(fbscreen.proc != nil){
-			postnote(fbscreen.proc, 0, "die", NUser);
+			postnote(fbscreen.proc, 1, "die", NUser);
 			while(fbscreen.proc != nil)
 				sched();
 		}
--