diff --git a/black_screen_dim.py b/black_screen_dim.py index d6f6e9f..a7e9bc1 100644 --- a/black_screen_dim.py +++ b/black_screen_dim.py @@ -259,7 +259,7 @@ if sys.platform == "win32": _hint_active = False user32.KillTimer(hwnd, 1) for h in _hwnds: - user32.InvalidateRect(h, None, False) + user32.InvalidateRect(h, None, True) return 0 if msg in (WM_DESTROY, WM_CLOSE): user32.PostQuitMessage(0)