From 44efa363741f314ab2571f5f36c7048fc9d16c60 Mon Sep 17 00:00:00 2001 From: Silun Date: Sat, 27 Mar 2021 03:01:24 +0100 Subject: [PATCH] comment --- Trayify.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Trayify.py b/Trayify.py index c419448..7dfee31 100644 --- a/Trayify.py +++ b/Trayify.py @@ -68,7 +68,8 @@ def callback(hwnd, _): return result -# Change the window visibility of the passed list of HWND window handles +# Change the window visibility of the passed list of HWND window handles and push into foreground +# SetForegroundWindow() is buggy in Windows, can lead to occasional crashes -> disable to fix def change_visibility(hwndlist, bool): for hwnd in hwndlist: ShowWindow(hwnd, bool)