VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkavsrf <kavsrf@gmail.com>2017-06-13 14:21:01 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-06-18 13:52:10 (GMT)
commit37c62bedd36ae255a036fb9e77f529a1021abb9a (patch)
treeddd731bb929ff66136a37780ca9be12aaeec84b9
parent0ba0723c769f95d312835967c47e34e444fea368 (diff)
downloadVeraCrypt-DCS-37c62bedd36ae255a036fb9e77f529a1021abb9a.zip
VeraCrypt-DCS-37c62bedd36ae255a036fb9e77f529a1021abb9a.tar.gz
Hide cursor if screen touched to protect remote screen grab
-rw-r--r--Library/PasswordLib/PicturePassword.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/PasswordLib/PicturePassword.c b/Library/PasswordLib/PicturePassword.c
index 4e46f47..b2d8fad 100644
--- a/Library/PasswordLib/PicturePassword.c
+++ b/Library/PasswordLib/PicturePassword.c
@@ -657,7 +657,7 @@ AskPictPwdInt(
DrawTouchZone(&TZN_SC);
}
- if (curPrevX != curX || curPrevY != curY) {
+ if ((curPrevX != curX || curPrevY != curY) && (EventIndex != 2)) {
DrawCursor(bltScrn, curX, curY);
showCursor = TRUE;
}