From: Pierre Ossman Date: Mon, 21 Aug 2023 09:03:10 +0000 (+0200) Subject: Change accelerator for "Disconnect" entry X-Git-Tag: v1.13.90~54 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8b6e43e8fc636cd94a8168a9761fe4d1ec0bd67e;p=tigervnc.git 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. --- 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"),