Add a timeout to the clipboard code to avoid hangs when using synergy. When a timeout is detected we set the clipboard so that we own it so that future timeouts are avoided. Testing has confirmed that this timeout and setting only occurs when the clipboard contains text from my Windows machine.
That is, if you copy from the Windows clipboard and then launch Dota and then repeatedly paste to a terminal window then the text will disappear when Dota hits the timeout. If you then select on the Linux side you can repeatedly paste. If you select again on Windows then the text will get cleared again. Note that Dota only looks at the clipboard when it has focus. CR: Saml
This commit is contained in:
parent
08e8f26d62
commit
defb16763d
2 changed files with 18 additions and 2 deletions
0
src/thread/windows/SDL_systhread.c
Executable file → Normal file
0
src/thread/windows/SDL_systhread.c
Executable file → Normal file
Loading…
Add table
Add a link
Reference in a new issue