mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-26 16:46:28 +00:00
[client] x11: ignore clipboard select events from ourself
This commit is contained in:
parent
dd38f3ce13
commit
b368873f4d
@ -217,7 +217,10 @@ static void x11_cb_wmevent(SDL_SysWMmsg * msg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// if someone selected data
|
// if someone selected data
|
||||||
if (e.type == this->eventBase + XFixesSelectionNotify && (
|
if (
|
||||||
|
e.type == this->eventBase + XFixesSelectionNotify &&
|
||||||
|
((XFixesSelectionNotifyEvent *)&e)->owner != this->window &&
|
||||||
|
(
|
||||||
((XFixesSelectionNotifyEvent *)&e)->selection == XA_PRIMARY ||
|
((XFixesSelectionNotifyEvent *)&e)->selection == XA_PRIMARY ||
|
||||||
((XFixesSelectionNotifyEvent *)&e)->selection == this->aSelection)
|
((XFixesSelectionNotifyEvent *)&e)->selection == this->aSelection)
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user