shithub: pplay

Download patch

ref: 7d023edfb125fa698be9dde801c61b85c3100961
parent: 38230eaac9e5abc55f7dce0f6fce0b9542a54258
author: qwx <qwx@sciops.net>
date: Mon Sep 4 04:27:55 EDT 2023

draw: fix not drawing anything while paused

--- a/draw.c
+++ b/draw.c
@@ -304,6 +304,7 @@
 		working = 1;
 		stalerender = 1;
 		sample(d);
+		refresh();
 		working = 0;
 	}
 }
@@ -345,6 +346,8 @@
 	if(all)
 		resetdraw();
 	unlockdisplay(display);
+	if(paused)
+		refresh();
 	/* FIXME: this overloading is stupid; just fork for each? have multiple
 	 * workers to begin with à la page? */
 	d = *current;