wayland: Phase 52b — guard wWindowSynthConfigureNotify frame titlebar access

Add wwin->frame NULL check before accessing wwin->frame->titlebar in
wWindowSynthConfigureNotify so frameless Wayland windows do not
dereference a NULL frame pointer when a synthetic configure notify
is sent.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Levi Neely 2026-03-28 07:12:50 +01:00
parent 8f0c54240e
commit c03581c81f
1 changed files with 1 additions and 1 deletions

View File

@ -1904,7 +1904,7 @@ void wWindowSynthConfigureNotify(WWindow *wwin)
{
WNativeWindow above = WNATIVE_NONE;
if (HAS_TITLEBAR(wwin) && wwin->frame->titlebar)
if (HAS_TITLEBAR(wwin) && wwin->frame && wwin->frame->titlebar)
above = wwin->frame->titlebar->window;
wm_backend->client_synth_configure(wwin->client_win,