How to disable screensaver in Yosemite
From Synergy Configuration File Format

screenSaverSync = {true|false}


If set to false then synergy won't synchronize screen savers. 

Client screen savers will start according to their individual configurations.

The server screen saver won't start if there is input, even if that input is directed toward a client screen.