ref: f1a4a54634ef0bd4fcb8402b518bf0061993564e
parent: 9620904ebb8cf2eea22a1a81cb9bb5274dda710d
author: cinap_lenrek <[email protected]>
date: Tue Aug 31 04:06:31 EDT 2021
gui-x11: fix uninitialized vars bug for screeninit() window position (thanks Nicola Girardi)
--- a/gui-x11/x11.c
+++ b/gui-x11/x11.c
@@ -308,6 +308,7 @@
initmap(rootwin);
}
+ x = y = 0;
r = ZR;
if(geometry != nil)
XParseGeometry(geometry, &x, &y, &r.max.x, &r.max.y);