commit | 79a8efb45cb8304967baa2e8c6d6156478ce19d9 | [log] [tgz] |
---|---|---|
author | Carlos Garnacho <carlosg@gnome.org> | Sat Jun 22 14:33:59 2019 +0200 |
committer | Tanu Kaskinen <tanuk@iki.fi> | Tue Aug 27 08:27:16 2019 +0000 |
tree | 4d27c9279fb254567f95a3f1fbe9286aec712a6d | |
parent | b80b19e060ffa7e816c72c08af43dccb0fa9ffe5 [diff] |
client-conf: Avoid loading X11 properties unless SSH_CONNECTION is set Reading properties from the X11 root window is meant to provide 1:1 results with reading the configuration directly in the local case. This configuration is essentially different only in remote cases. Add an extra check for the SSH_CONNECTION envvar, so we don't even need opening a X11 display connection for IPC in the most usual case.