Fix hint not clearing: InvalidateRect must request background erase (True) so the class brush repaints black

This commit is contained in:
Hermes Agent committed 2026-09-16 16:31:34 +02:00
1 parent d6e83565c1
commit 0027ca57fc
1 file changed
+1 -1
+1 -1
View File
@@ -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)