.ib._util: ignore attr err on click-hack twm wakeups?

multiaddrs
Gud Boi 2026-01-29 02:48:41 -05:00
parent 3a515afccd
commit 8718ad4874
1 changed files with 8 additions and 1 deletions

View File

@ -333,7 +333,14 @@ def i3ipc_xdotool_manual_click_hack() -> None:
''' '''
focussed, matches = i3ipc_fin_wins_titled() focussed, matches = i3ipc_fin_wins_titled()
try:
orig_win_id = focussed.window orig_win_id = focussed.window
except AttributeError:
# XXX if .window cucks we prolly aren't intending to
# use this and/or just woke up from suspend..
log.exception('xdotool invalid usage ya ??\n')
return
try: try:
for name, con in matches: for name, con in matches:
print(f'Resetting data feed for {name}') print(f'Resetting data feed for {name}')