From 8b6e43e8fc636cd94a8168a9761fe4d1ec0bd67e Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 21 Aug 2023 11:03:10 +0200 Subject: [PATCH] Change accelerator for "Disconnect" entry Using "c" is in conflict the the "Ctrl" entry, so we need to pick something else here. This was a regression introduced in 44b085a. --- vncviewer/Viewport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx index a79cda52..d46c0021 100644 --- a/vncviewer/Viewport.cxx +++ b/vncviewer/Viewport.cxx @@ -1248,7 +1248,7 @@ void Viewport::initContextMenu() { contextMenu->clear(); - fltk_menu_add(contextMenu, p_("ContextMenu|", "Dis&connect"), + fltk_menu_add(contextMenu, p_("ContextMenu|", "Disconn&ect"), 0, NULL, (void*)ID_DISCONNECT, FL_MENU_DIVIDER); fltk_menu_add(contextMenu, p_("ContextMenu|", "&Full screen"), -- 2.39.5