Home GnuPG
Diffusion GpgOL 6219c5bb703e

Sleep a bit before bringing window to front

Description

Sleep a bit before bringing window to front

* src/common.c (bring_to_front): log when done.
* src/windowmessages.cpp (gpgol_window_proc): Sleep a bit
before bring to front.

This might resolve an observed deadlock where setforegroundwindow
would block the UI thread as it tried to bring the disabled
mail window to front. Might also help with:

Details

Provenance
aheineckeAuthored on Apr 10 2018, 1:12 PM
Parents
rO1441f6710db9: Fix encrypt to self if keycache is used
Branches
Unknown
Tags
Unknown
Tasks
T3889: GpgOL: Window management does not work well in OL 2010