forgot to commit wallpaper file

This commit is contained in:
Dillon DuPont
2025-10-25 01:40:38 -07:00
parent f47c8b4393
commit 79d4db44a3
2 changed files with 316 additions and 10 deletions

View File

@@ -123,16 +123,8 @@ class GenericWindowHandler(BaseWindowHandler):
# Find by native handle among Window objects; getAllWindowsDict keys are titles
try:
for w in pwc.getAllWindows():
try:
handle = (
w.getHandle() if hasattr(w, "getHandle") else getattr(w, "handle", None)
)
if handle is None:
continue
if str(handle) == str(window_id):
return w
except Exception:
continue
if str(w.getHandle()) == str(window_id):
return w
return None
except Exception:
return None