diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-16 14:01:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-16 14:01:51 +0200 |
commit | fd615a3c901f59abddca27c6a09940be552c0f4d (patch) | |
tree | 75fdd6532b664e0a7971b309c07242aac28d4571 /src/gui_motif.c | |
parent | a6e67e4f41386c3e6eab7e047671c6d32f6cb0dc (diff) |
patch 8.2.0765: In the GUI can't use all the modifiers.v8.2.0765
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.
Diffstat (limited to 'src/gui_motif.c')
-rw-r--r-- | src/gui_motif.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui_motif.c b/src/gui_motif.c index 022626bcb0..90c5df98d6 100644 --- a/src/gui_motif.c +++ b/src/gui_motif.c @@ -1238,8 +1238,11 @@ add_pixmap_args(vimmenu_T *menu, Arg *args, int n) } 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++; } |