diff --git a/delphi-backend/Source/PM.Bridge.pas b/delphi-backend/Source/PM.Bridge.pas index d6781d6..adce1c5 100644 --- a/delphi-backend/Source/PM.Bridge.pas +++ b/delphi-backend/Source/PM.Bridge.pas @@ -1234,8 +1234,11 @@ end; procedure LazyForceToTop(AWnd: HWND); begin - SetWindowPos(AWnd, HWND_NOTOPMOST, 0, 0, 0, 0, - SWP_NOMOVE or SWP_NOSIZE or SWP_NOACTIVATE); + // UNE SEULE REMONTEE, PAS DE DETOUR PAR LE BAS. Le passage par NOTOPMOST + // faisait descendre la barrette sous les fenetres ordinaires l'espace d'un + // instant - un flash visible a chaque battement - et, mesure a l'appui, il + // ne gagnait rien contre la barre des taches active, seul cas ou elle reste + // recouverte. Contre une fenetre TOPMOST ordinaire, TOPMOST suffit. SetWindowPos(AWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE or SWP_NOSIZE or SWP_NOACTIVATE); end;