Guard all dpy==NULL crash sites reached from wManageWindow: - wNETWMGetPidForWindow (wmspec.c) — XGetWindowProperty with NULL dpy - wNETWMCheckClientHints (wmspec.c) — XGetWindowProperty - wNETWMCheckInitialClientState (wmspec.c) — XChangeProperty chain - getMWMHints (motif.c) — XInternAtom before NULL dpy check - wClientSetState (client.c) — XChangeProperty - wColormapInstallForWindow (colormap.c) — XGetWindowAttributes - wWindowSetKeyGrabs (window.c) — frame->core->window dereference Wire handle_toplevel_map → wManageWindow(scr, view->id) so mapped XDG toplevels appear in scr->focused_window. Log success via "wl_backend: wManageWindow succeeded id=0x%lx". Smoke test: add Phase 39 check — grep "wManageWindow succeeded". Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| test_geom.c | ||
| test_x11_event.c | ||
| wl-smoke-test.sh | ||
| x11-smoke-test.sh | ||