patch 8.2.0765: In the GUI can't use all the modifiers.
Problem: In the GUI can't use all the modifiers. (Andri Möll)
Solution: Do not apply Alt/Meta early, do it later like with the terminal.
Avoid the Motif test from crashing.
diff --git a/src/gui_motif.c b/src/gui_motif.c
index 022626b..90c5df9 100644
--- a/src/gui_motif.c
+++ b/src/gui_motif.c
@@ -1238,8 +1238,11 @@
}
else
{
+# if 0 // DISABLED - this causes a crash when running "make test_gui" in
+ // Test_colorscheme()
if (menu->xpm_fname != NULL)
XtSetArg(args[n], XmNpixmapFile, menu->xpm_fname); n++;
+# endif
XtSetArg(args[n], XmNpixmapData, menu->xpm); n++;
XtSetArg(args[n], XmNlabelLocation, XmBOTTOM); n++;
}