ref: 7a1fe6d6eca745009d9be9ad6f16e45ed2a511ab
parent: 60e52edbdea4e18d7fd0b409d49aa47327b2ee59
author: Jacob Moody <moody@posixcafe.org>
date: Mon Oct 3 22:15:09 EDT 2022
gui-wl: correct leftover from drawlock hacks
--- a/gui-wl/wl-screen.c
+++ b/gui-wl/wl-screen.c
@@ -75,7 +75,11 @@
r = Rect(0, 0, wl->dx, wl->dy);
gscreen = allocmemimage(r, XRGB32);
gscreen->clipr = ZR;
- _screenresize(r);
+ qunlock(&drawlock);
+
+ screenresize(r);
+
+ qlock(&drawlock);
wl->dirty = 1;
wl->r = r;
wlflush(wl);