mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-18 05:18:09 +00:00
[client] x11: prevent race condition causing double free
This commit is contained in:
@@ -204,6 +204,7 @@ static void x11_cb_wmevent(SDL_SysWMmsg * msg)
|
||||
s->xselection.property = None;
|
||||
XSendEvent(this->display, e.xselectionrequest.requestor, 0, 0, s);
|
||||
XFlush(this->display);
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.type == SelectionClear && (
|
||||
|
Reference in New Issue
Block a user