shithub: riscv

Download patch

ref: 2fa6c2cb881c9a3a537b419c58727de0d0ee741e
parent: 969dcf44b66e1842fae22f6743cb2cb50bb11158
author: Jacob Moody <moody@posixcafe.org>
date: Mon Oct 10 22:08:34 EDT 2022

rio: close the display on the way out

This restores the window image when exiting a subrio.

--- a/sys/src/cmd/rio/rio.c
+++ b/sys/src/cmd/rio/rio.c
@@ -233,6 +233,7 @@
 		recv(exitchan, nil);
 	}
 	killprocs();
+	closedisplay(display);
 	threadexitsall(nil);
 }