ref: a49c29951de073991572768848437169f13104f4
parent: 034e38b472fb607951b32fb90c824f33474ce8e7
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Mon Dec 28 10:48:39 EST 2020
no locking of display
--- a/main.c
+++ b/main.c
@@ -291,12 +291,10 @@
break;
case Cresize:
- lockdisplay(display);
if(getwindow(display, Refnone) < 0)
sysfatal("getwindow: %r");
draw(screen, screen->r, display->black, nil, ZP);
flushimage(display, 1);
- unlockdisplay(display);
break;
}
}