Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
20420:e5482a10499c | 20421:8590a462ad46 |
---|---|
1236 { | 1236 { |
1237 XtSetArg(args[n], XmNlabelType, XmSTRING); n++; | 1237 XtSetArg(args[n], XmNlabelType, XmSTRING); n++; |
1238 } | 1238 } |
1239 else | 1239 else |
1240 { | 1240 { |
1241 # if 0 // DISABLED - this causes a crash when running "make test_gui" in | |
1242 // Test_colorscheme() | |
1241 if (menu->xpm_fname != NULL) | 1243 if (menu->xpm_fname != NULL) |
1242 XtSetArg(args[n], XmNpixmapFile, menu->xpm_fname); n++; | 1244 XtSetArg(args[n], XmNpixmapFile, menu->xpm_fname); n++; |
1245 # endif | |
1243 XtSetArg(args[n], XmNpixmapData, menu->xpm); n++; | 1246 XtSetArg(args[n], XmNpixmapData, menu->xpm); n++; |
1244 XtSetArg(args[n], XmNlabelLocation, XmBOTTOM); n++; | 1247 XtSetArg(args[n], XmNlabelLocation, XmBOTTOM); n++; |
1245 } | 1248 } |
1246 return n; | 1249 return n; |
1247 } | 1250 } |