fix some uninitialized values

This commit is contained in:
Nishi 2026-04-27 08:54:13 +09:00
commit a78b7b6762
4 changed files with 9 additions and 6 deletions

View file

@ -405,8 +405,9 @@ static MwLL MwLLCreateImpl(MwLL parent, int x, int y, int width, int height) {
r->x11.width = width;
r->x11.height = height;
r->x11.grabbed = 0;
r->x11.force_render = 0;
r->x11.grabbed = 0;
r->x11.force_render = 0;
r->x11.dark_theme_detection = 0;
r->x11.colormap = DefaultColormap(r->x11.display, XDefaultScreen(r->x11.display));
r->x11.wm_delete = XInternAtom(r->x11.display, "WM_DELETE_WINDOW", False);