X-Git-Url: https://git.donarmstrong.com/?p=deb_pkgs%2Fautorandr.git;a=blobdiff_plain;f=autorandr.py;h=8d561fd85874d1b1d50499344744119715744f53;hp=ad4b22b0fbeec18e7e89695d4c9a481f76cc74a9;hb=a02f2f6968167170cc335f9dc39d06b91aa15027;hpb=20fe858e0852cf40dc9b7e045f9e66bebc4ca022 diff --git a/autorandr.py b/autorandr.py index ad4b22b..8d561fd 100755 --- a/autorandr.py +++ b/autorandr.py @@ -844,7 +844,7 @@ def dispatch_call_to_sessions(argv): display = process_environ["DISPLAY"] if "DISPLAY" in process_environ else None # To allow scripts to detect batch invocation (especially useful for predetect) - process_environ["AUTORANDR_BATCH_PID"] = os.getpid() + process_environ["AUTORANDR_BATCH_PID"] = str(os.getpid()) if display and display not in X11_displays_done: try: