fix: increase mouse jiggle to 10px for reliable screensaver prevention

This commit is contained in:
2026-05-01 16:06:13 +00:00
parent ccf7401f71
commit fc3a4c6efb
+1 -1
View File
@@ -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,