Add XAUTHORITY to update-environment, requested by Andreas Kloeckner.

This commit is contained in:
Nicholas Marriott 2010-11-11 21:06:09 +00:00
parent 17b56562c4
commit e4e728664b

7
tmux.c
View File

@ -372,8 +372,11 @@ main(int argc, char **argv)
options_set_number(so, "status-right-length", 40);
options_set_string(so, "terminal-overrides",
"*88col*:colors=88,*256col*:colors=256");
options_set_string(so, "update-environment", "DISPLAY "
"WINDOWID SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION");
options_set_string(so, "update-environment",
"DISPLAY "
"SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION "
"WINDOWID "
"XAUTHORITY");
options_set_number(so, "visual-activity", 0);
options_set_number(so, "visual-bell", 0);
options_set_number(so, "visual-content", 0);