mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-25 20:13:23 +03:00
Auto start Synergy after a new client added
This commit is contained in:
parent
3b1e15ba08
commit
2e744b0f02
@ -910,6 +910,9 @@ void MainWindow::autoAddScreen(const QString name)
|
||||
break;
|
||||
}
|
||||
}
|
||||
else {
|
||||
startSynergy();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -288,7 +288,7 @@ int ServerConfig::autoAddScreen(const QString name)
|
||||
}
|
||||
if (findScreenName(name, targetIndex)) {
|
||||
// already exists.
|
||||
return kAutoAddScreenOk;
|
||||
return kAutoAddScreenIgnore;
|
||||
}
|
||||
|
||||
int result = showAddClientDialog(name);
|
||||
|
Loading…
Reference in New Issue
Block a user