[client] x11: fix incorrect pointer reference, fixes clipboard

Thanks to @JJRcop for bisecting to discover the fault
This commit is contained in:
Geoffrey McRae 2023-12-01 09:11:09 +11:00
parent 22d949c411
commit 8cd002f1b2

View file

@ -93,7 +93,7 @@ bool x11CBEventThread(const XEvent * xe)
default:
if (xe->type == x11.eventBase + XFixesSelectionNotify)
{
XFixesSelectionNotifyEvent * sne = (XFixesSelectionNotifyEvent *)&xe;
XFixesSelectionNotifyEvent * sne = (XFixesSelectionNotifyEvent *)xe;
x11CBXFixesSelectionNotify(*sne);
return true;
}