fix: increase mouse jiggle to 10px for reliable screensaver prevention
This commit is contained in:
@@ -88,7 +88,7 @@ def _anti_idle_loop():
|
||||
win_id = r.stdout.decode().strip().splitlines()[0] if r.stdout.strip() else ""
|
||||
if win_id:
|
||||
# Чередуем позицию — tiny mouse jiggle внутри окна xfreerdp
|
||||
x, y = (960, 540) if toggle else (961, 541)
|
||||
x, y = (960, 540) if toggle else (970, 550)
|
||||
subprocess.run(
|
||||
["xdotool", "mousemove", "--window", win_id, str(x), str(y)],
|
||||
env=env, capture_output=True, timeout=5,
|
||||
|
||||
Reference in New Issue
Block a user