Home GnuPG
Diffusion GpgOL a243c8af5f07

Bring Outlook back into focus after enc/sign

Description

Bring Outlook back into focus after enc/sign

* src/mail.cpp (do_crypt): Send BRING_TO_FRONT message
after encryption.
* src/windowmessages.cpp, src/windowmessages.h: New call
to bring the active outlook window to front.

As explained in the comment this is a workaround for strange
behavior with pinentry and foreground windows. After encrypt/sign
often times the wrong window has focus. So we better bring
Outlook to front.

Details

Provenance
aheineckeAuthored on Mar 6 2018, 9:51 AM
Parents
rO7f4d6d27fa02: Add new Window Message helper
Branches
Unknown
Tags
Unknown
Tasks
T3732: Lost focus on Outlook after sending gpg mail