mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-26 07:23:40 +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 (e.type == this->eventBase + XFixesSelectionNotify && (
|
||||
if (
|
||||
e.type == this->eventBase + XFixesSelectionNotify &&
|
||||
((XFixesSelectionNotifyEvent *)&e)->owner != this->window &&
|
||||
(
|
||||
((XFixesSelectionNotifyEvent *)&e)->selection == XA_PRIMARY ||
|
||||
((XFixesSelectionNotifyEvent *)&e)->selection == this->aSelection)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user