mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-24 22:37:19 +00:00
[client] x11: fix incorrect pointer reference, fixes clipboard
Thanks to @JJRcop for bisecting to discover the fault
This commit is contained in:
parent
22d949c411
commit
8cd002f1b2
@ -93,7 +93,7 @@ bool x11CBEventThread(const XEvent * xe)
|
|||||||
default:
|
default:
|
||||||
if (xe->type == x11.eventBase + XFixesSelectionNotify)
|
if (xe->type == x11.eventBase + XFixesSelectionNotify)
|
||||||
{
|
{
|
||||||
XFixesSelectionNotifyEvent * sne = (XFixesSelectionNotifyEvent *)&xe;
|
XFixesSelectionNotifyEvent * sne = (XFixesSelectionNotifyEvent *)xe;
|
||||||
x11CBXFixesSelectionNotify(*sne);
|
x11CBXFixesSelectionNotify(*sne);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user