From: Pasi Kallinen Date: Thu, 28 Jan 2016 17:44:29 +0000 (+0200) Subject: X11: Attach translations also to menuform X-Git-Tag: NetHack-3.6.1_RC01~977 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a309e076e0f95380ed555f6d3ab355994c7826bf;p=nethack X11: Attach translations also to menuform Without this, the keyboard commands don't work in the extended command window on Linux. If the translations are removed from menuformview, then the keyboard commands don't work on Mac. Having the translations in both doesn't seem to hurt. --- diff --git a/win/X11/winmisc.c b/win/X11/winmisc.c index b453e9126..d1d44d906 100644 --- a/win/X11/winmisc.c +++ b/win/X11/winmisc.c @@ -953,6 +953,8 @@ Widget *formp; /* return */ args, num_args); num_args = 0; + XtSetArg(args[num_args], XtNtranslations, + XtParseTranslationTable(popup_translations)); num_args++; *formp = form = XtCreateManagedWidget("menuform", formWidgetClass, view, args, num_args);