diff src/gui_motif.c @ 20421:8590a462ad46 v8.2.0765

patch 8.2.0765: In the GUI can't use all the modifiers. Commit: https://github.com/vim/vim/commit/fd615a3c901f59abddca27c6a09940be552c0f4d Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 16 14:01:51 2020 +0200 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.
author Bram Moolenaar <Bram@vim.org>
date Sat, 16 May 2020 14:15:05 +0200
parents aadd1cae2ff5
children fcccc29bd386
line wrap: on
line diff
--- a/src/gui_motif.c
+++ b/src/gui_motif.c
@@ -1238,8 +1238,11 @@ add_pixmap_args(vimmenu_T *menu, Arg *ar
     }
     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++;
     }