.ib._util: ignore attr err on click-hack twm wakeups?
parent
3a515afccd
commit
8718ad4874
|
|
@ -333,7 +333,14 @@ def i3ipc_xdotool_manual_click_hack() -> None:
|
||||||
|
|
||||||
'''
|
'''
|
||||||
focussed, matches = i3ipc_fin_wins_titled()
|
focussed, matches = i3ipc_fin_wins_titled()
|
||||||
orig_win_id = focussed.window
|
try:
|
||||||
|
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}')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue