added feature to control uac elevation on desk switch (login screen, lock, etc)

This commit is contained in:
Nick Bolton
2012-07-28 13:34:35 +00:00
parent 268f3a99bb
commit 86bb49aeae
13 changed files with 64 additions and 21 deletions

View File

@@ -404,6 +404,14 @@ void MainWindow::startSynergy()
{
// tell client/server to talk to daemon through ipc.
args << "--ipc";
#if defined(Q_OS_WIN)
// tell the client/server to shut down when a ms windows desk
// is switched; this is because we may need to elevate or not
// based on which desk the user is in (login always needs
// elevation, where as default desk does not).
args << "--stop-on-desk-switch";
#endif
}
if ((synergyType() == synergyClient && !clientArgs(args, app))