ref: 627806e4de1f01a670ab6a3ebb960609cbda7a06
parent: f94021cad309874252753f9ac7b49b9efe9b04be
author: sirjofri <[email protected]>
date: Mon Jul 22 08:39:14 EDT 2024
fixes redraw of enter.c
--- a/enter.c
+++ b/enter.c
@@ -42,6 +42,9 @@
a[Eresize].c = mctl->resizec;
a[Ekeyboard].c = kctl->c;
+ draw(screen, screen->r, display->white, nil, ZP);
+ flushimage(display, 1);
+
for (;;) {
switch (alt(a)) {
case Emouse:
@@ -55,6 +58,7 @@
if (getwindow(display, Refnone) < 0)
sysfatal("cannot reattach: %r");
draw(screen, screen->r, display->white, nil, ZP);
+ flushimage(display, 1);
break;
case Ekeyboard:
if (k == Kdel || k == 'q')