shithub: riscv

Download patch

ref: aa57098a3ca539c91d48d3d053ef0bd4cf0b3cce
parent: 188dea1f2b16a78fef2deb74675ae675e915d37b
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Tue Oct 4 19:14:54 EDT 2022

riow: fix uninitialized field

--- a/sys/src/cmd/riow.c
+++ b/sys/src/cmd/riow.c
@@ -88,6 +88,7 @@
 		w->r.max.y = atoi(t[3]);
 		w->vd = -1;
 		w->flags = 0;
+		w->stickyforced = 0;
 
 		/* move over the current state of the window */
 		for(k = 0, seen = 0; k < wsn; k++){