mirror of
https://github.com/tmux/tmux.git
synced 2026-04-16 12:06:32 +00:00
Add WAYLAND_DISPLAY to default update-environment, GitHub issue 4965 from
wgh at torlan dot ru.
This commit is contained in:
@@ -415,10 +415,10 @@ const struct options_table_entry options_table[] = {
|
|||||||
.choices = options_table_get_clipboard_list,
|
.choices = options_table_get_clipboard_list,
|
||||||
.default_num = 1,
|
.default_num = 1,
|
||||||
.text = "When an application requests the clipboard, whether to "
|
.text = "When an application requests the clipboard, whether to "
|
||||||
"ignore the request ('off'); respond with the newest buffer "
|
"ignore the request ('off'); respond with the newest buffer "
|
||||||
"('buffer'); request the clipboard from the most recently "
|
"('buffer'); request the clipboard from the most recently "
|
||||||
"used terminal ('request'); or to request the clipboard, "
|
"used terminal ('request'); or to request the clipboard, "
|
||||||
"create a buffer, and send it to the application ('both')."
|
"create a buffer, and send it to the application ('both')."
|
||||||
},
|
},
|
||||||
|
|
||||||
{ .name = "history-file",
|
{ .name = "history-file",
|
||||||
@@ -1025,7 +1025,8 @@ const struct options_table_entry options_table[] = {
|
|||||||
.scope = OPTIONS_TABLE_SESSION,
|
.scope = OPTIONS_TABLE_SESSION,
|
||||||
.flags = OPTIONS_TABLE_IS_ARRAY,
|
.flags = OPTIONS_TABLE_IS_ARRAY,
|
||||||
.default_str = "DISPLAY KRB5CCNAME MSYSTEM SSH_ASKPASS SSH_AUTH_SOCK "
|
.default_str = "DISPLAY KRB5CCNAME MSYSTEM SSH_ASKPASS SSH_AUTH_SOCK "
|
||||||
"SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY",
|
"SSH_AGENT_PID SSH_CONNECTION WAYLAND_DISPLAY "
|
||||||
|
"WINDOWID XAUTHORITY",
|
||||||
.text = "List of environment variables to update in the session "
|
.text = "List of environment variables to update in the session "
|
||||||
"environment when a client is attached."
|
"environment when a client is attached."
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user