#6346 Fix disable lock to screen was always set to true

This commit is contained in:
XinyuHou 2016-11-24 13:33:31 +00:00 committed by Nick Bolton
parent 84dfeec2ed
commit 6ccd4d71b8
1 changed files with 1 additions and 1 deletions

View File

@ -1183,7 +1183,7 @@ Server::processOptions()
newRelativeMoves = (value != 0); newRelativeMoves = (value != 0);
} }
else if (id == kOptionDisableLockToScreen) { else if (id == kOptionDisableLockToScreen) {
m_disableLockToScreen = true; m_disableLockToScreen = (value != 0);
} }
else if (id == kOptionClipboardSharing) { else if (id == kOptionClipboardSharing) {
m_enableClipboard = (value != 0); m_enableClipboard = (value != 0);