Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows: Fix rare cases being stuck in Secure Desktop after it is use…
…d for password entry Cause seems to be IME as documented in KeePass project (https://keepass.info/help/kb/sec_desk.html#ime). We use the same approach as KeePass to disable IME in Secure Desktop. This commit also add few changes: - we switch to secure desktop only if SetThreadDesktop succeeds - we call SwitchDesktop to switch to original desktop only if we actually succeeded in displaying secure desktop
- Loading branch information