5e35fe2c1b
As reported in #451, with the Mac server, sleeping and resuming (on the
server) causes the mouse speed to double on the client upon resume.
Fix by removing the CFRunLoopSource from the run loop on screen disable
before releasing it. CFRunLoopAddSource in enable() retains the
CFRunLoopSource, so even though the source is released in disable(), the
run loop still has a copy. When the server comes out of sleep and the
screen is enable()'d, another event tap and run loop source are created
and added to the run loop, so the callback is now being called twice for
every mouse movement, and so on for every additional time the server
sleeps.
This is a better approach than the fix in
|
||
---|---|---|
doc | ||
ext | ||
res | ||
src | ||
.gitignore | ||
.lvimrc | ||
CMakeLists.txt | ||
COMPILE | ||
ChangeLog | ||
INSTALL | ||
LICENSE | ||
README | ||
configure | ||
hm.cmd | ||
hm.py | ||
hm.sh |
README
Synergy ======= Share one mouse and keyboard between multiple computers. Synergy is free and open source (free as in free speech), meaning you are free to run it and redistribute it with or without changes. Just use "hm conf" and "hm build" to compile (./hm.sh on Linux and Mac). For detailed compile instructions: http://synergy-project.org/wiki/Compiling Happy hacking!