shithub: riscv

Download patch

ref: 4a4d141f1f57a7831305e324410a8436cd5e8398
parent: a0a3bf21bc9fce5a0b2bdb435524ed1a7b334d0d
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Fri Sep 15 14:15:09 EDT 2023

doom: wait explicitly for convproc to exit before running getwindow on resize

--- a/sys/src/games/doom/i_video.c
+++ b/sys/src/games/doom/i_video.c
@@ -141,7 +141,7 @@
 {
 	if(resized){
 		if(conv != nil){
-			chanclose(conv);
+			sendp(conv, nil);
 			conv = nil;
 		}
 		resized = 0;