I can give you two snippets, working well on awesome 3.4.4.
mouse.coords( { x = 4800 - s*1920, y = 600 } )
Thanks for that - I used your code and although it does in fact move the
mouse, after some more experimentation it seems the problem is that the
screen gets focused and the mouse moved to (0,0) at the same time, which
Synergy captures, then the mouse gets moved to the new location - but by
then it's too late, Synergy has already directed input to the other
machine.
Finally got back to this, and for anyone trawling the archives the best
solution is to tell Synergy not to switch screens when the mouse is at (0,0)
section: options
switchCorners = top-left
switchCornerSize = 2
end
Then it works without any changes to the Awesome config.
I also discovered that Synergy supports hotkeys for screen changes (so
my system of using Mod4+F1, F2, etc. for each screen can still be used
across PCs) but unfortunately it grabs the hotkeys on all machines which
conflicts with Awesome (Synergy grabs more keys than it needs to.) I
might submit a bug report, because if that's fixed at least some of my
Awesome keyboard navigation will work under Windows :-)
Cheers,
Adam.
--
To unsubscribe, send mail to [email protected].