mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-04 09:44:16 +00:00
[client] x11: ignore clipboard select events from ourself
This commit is contained in:
@@ -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)
|
||||
)
|
||||
|
Reference in New Issue
Block a user