diff --git a/rdp-proxy/manager.py b/rdp-proxy/manager.py index 78c8f02..36972aa 100644 --- a/rdp-proxy/manager.py +++ b/rdp-proxy/manager.py @@ -111,6 +111,10 @@ def _anti_idle_loop(): ["xdotool", "click", "--window", win_id, "1"], env=env, capture_output=True, timeout=5, ) + subprocess.run( + ["xdotool", "key", "--window", win_id, "--clearmodifiers", "shift"], + env=env, capture_output=True, timeout=5, + ) toggle = not toggle log.debug("anti_idle click window=%s pos=%s,%s", win_id, x, y) else: