diff --git a/client/displayservers/X11/clipboard.c b/client/displayservers/X11/clipboard.c index 9fa15074..1aadb95f 100644 --- a/client/displayservers/X11/clipboard.c +++ b/client/displayservers/X11/clipboard.c @@ -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; }