Fixed clipboard watcher not watching after copying server's creds.

This commit is contained in:
Stanislav Nikitin 2016-10-13 02:40:27 +05:00
parent e12c76e424
commit e487b8521c

View File

@ -36,6 +36,8 @@ func (cw *ClipboardWatcher) checkInput() {
if !cw.just_set {
text := cw.clipboard.WaitForText()
cw.parseData(text)
} else {
cw.just_set = false
}
}
@ -43,6 +45,8 @@ func (cw *ClipboardWatcher) checkPrimaryInput() {
if !cw.just_set {
text := cw.prim_clipboard.WaitForText()
cw.parseData(text)
} else {
cw.just_set = false
}
}