diff options
author | kavsrf <kavsrf@gmail.com> | 2017-06-13 17:21:01 +0300 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-06-18 15:52:10 +0200 |
commit | 37c62bedd36ae255a036fb9e77f529a1021abb9a (patch) | |
tree | ddd731bb929ff66136a37780ca9be12aaeec84b9 /Library/PasswordLib/PicturePassword.c | |
parent | 0ba0723c769f95d312835967c47e34e444fea368 (diff) | |
download | VeraCrypt-DCS-37c62bedd36ae255a036fb9e77f529a1021abb9a.tar.gz VeraCrypt-DCS-37c62bedd36ae255a036fb9e77f529a1021abb9a.zip |
Hide cursor if screen touched to protect remote screen grab
Diffstat (limited to 'Library/PasswordLib/PicturePassword.c')
-rw-r--r-- | Library/PasswordLib/PicturePassword.c | 2 |
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;
}
|