mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 21:17:54 +00:00
[client] x11: ignore clipboard select events from ourself
This commit is contained in:
parent
dd38f3ce13
commit
b368873f4d
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue