VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkavsrf <kavsrf@gmail.com>2017-06-13 17:21:01 +0300
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-06-18 15:52:10 +0200
commit37c62bedd36ae255a036fb9e77f529a1021abb9a (patch)
treeddd731bb929ff66136a37780ca9be12aaeec84b9
parent0ba0723c769f95d312835967c47e34e444fea368 (diff)
downloadVeraCrypt-DCS-37c62bedd36ae255a036fb9e77f529a1021abb9a.tar.gz
VeraCrypt-DCS-37c62bedd36ae255a036fb9e77f529a1021abb9a.zip
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;
}