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

Thanks to @JJRcop for bisecting to discover the fault
This commit is contained in:
Geoffrey McRae committed 2023-12-01 09:12:38 +11:00
1 parent 22d949c411
commit 8cd002f1b2
1 file changed
+1 -1
+1 -1
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;
}