From a309e076e0f95380ed555f6d3ab355994c7826bf Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Thu, 28 Jan 2016 19:44:29 +0200 Subject: [PATCH] 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. --- win/X11/winmisc.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.40.0