From cc57913d7a76f957523b450966ae09255034310e Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 14 Apr 2026 07:16:02 +0000 Subject: [PATCH] Add WAYLAND_DISPLAY to default update-environment, GitHub issue 4965 from wgh at torlan dot ru. --- options-table.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/options-table.c b/options-table.c index 55abe679..6d1e6552 100644 --- a/options-table.c +++ b/options-table.c @@ -415,10 +415,10 @@ const struct options_table_entry options_table[] = { .choices = options_table_get_clipboard_list, .default_num = 1, .text = "When an application requests the clipboard, whether to " - "ignore the request ('off'); respond with the newest buffer " - "('buffer'); request the clipboard from the most recently " - "used terminal ('request'); or to request the clipboard, " - "create a buffer, and send it to the application ('both')." + "ignore the request ('off'); respond with the newest buffer " + "('buffer'); request the clipboard from the most recently " + "used terminal ('request'); or to request the clipboard, " + "create a buffer, and send it to the application ('both')." }, { .name = "history-file", @@ -1025,7 +1025,8 @@ const struct options_table_entry options_table[] = { .scope = OPTIONS_TABLE_SESSION, .flags = OPTIONS_TABLE_IS_ARRAY, .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 " "environment when a client is attached." },