You have to setup the screens so it knows where they are in relation to each other.

I use regular synergy - click configure and set it up. Make sure you define BOTH screens. Aka if B is one to the right of monitor A then you also have to define that A is left of B.

Then run both copies, one as a client and one as a server. This needs to be configured as well.