We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb6cb7d commit f9cbd37Copy full SHA for f9cbd37
nx-X11/programs/Xserver/hw/nxagent/Events.c
@@ -4512,7 +4512,7 @@ Bool ForwardClientMessage(ClientPtr client, xSendEventReq *stuff)
4512
WindowPtr pWin = (WindowPtr)SecurityLookupWindow(stuff->destination, client,
4513
DixReadAccess);
4514
4515
- if (stuff->event.u.clientMessage.u.l.type == netwmstate || stuff->event.u.clientMessage.u.l.type == wmchangestate)
+ if (pWin && (stuff->event.u.clientMessage.u.l.type == netwmstate || stuff->event.u.clientMessage.u.l.type == wmchangestate))
4516
{
4517
if (pWin->drawable.id == pWin->drawable.pScreen->root->drawable.id)
4518
0 commit comments