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:
parent
8f0c54240e
commit
c03581c81f
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue