To: vim-dev@vim.org Subject: patch 5.4.14 Fcc: outbox From: Bram Moolenaar ------------ Since I didn't hear about this patch causing trouble, I'll turn it into an official one. Credits go to Thomas. Patch 5.4.14 Problem: Motif GUI: When the popup menu is present, a tiny window appears on the desktop for some users. Solution: Set the menu widget ID for a popup menu to 0. (Thomas Koehler) Files: src/gui_motif.c *** ../vim-5.4/src/gui_motif.c Sun Jul 25 22:02:11 1999 --- src/gui_motif.c Wed Aug 4 23:09:14 1999 *************** *** 310,316 **** XtSetArg(arg[0], XmNbackground, gui.menu_bg_pixel); XtSetArg(arg[1], XmNforeground, gui.menu_fg_pixel); menu->submenu_id = XmCreatePopupMenu(textArea, "contextMenu", arg, 2); ! menu->id = XtParent(menu->submenu_id);; return; } #endif --- 310,316 ---- XtSetArg(arg[0], XmNbackground, gui.menu_bg_pixel); XtSetArg(arg[1], XmNforeground, gui.menu_fg_pixel); menu->submenu_id = XmCreatePopupMenu(textArea, "contextMenu", arg, 2); ! menu->id = (Widget)0; return; } #endif *** ../vim-5.4/src/version.h Thu Aug 5 11:23:48 1999 --- src/version.h Sat Aug 7 22:03:47 1999 *************** *** 19,26 **** #define VIM_VERSION_MINOR_STR "4" #define VIM_VERSION_BUILD 57 #define VIM_VERSION_BUILD_STR "57" ! #define VIM_VERSION_PATCHLEVEL 13 ! #define VIM_VERSION_PATCHLEVEL_STR "13" /* * VIM_VERSION_NODOT is used for the runtime directory name. --- 19,26 ---- #define VIM_VERSION_MINOR_STR "4" #define VIM_VERSION_BUILD 57 #define VIM_VERSION_BUILD_STR "57" ! #define VIM_VERSION_PATCHLEVEL 14 ! #define VIM_VERSION_PATCHLEVEL_STR "14" /* * VIM_VERSION_NODOT is used for the runtime directory name. *************** *** 30,35 **** */ #define VIM_VERSION_NODOT "vim54" #define VIM_VERSION_SHORT "5.4" ! #define VIM_VERSION_MEDIUM "5.4.13" ! #define VIM_VERSION_LONG "VIM - Vi IMproved 5.4.13 (1999 Aug 5)" ! #define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 5.4.13 (1999 Aug 5, compiled " --- 30,35 ---- */ #define VIM_VERSION_NODOT "vim54" #define VIM_VERSION_SHORT "5.4" ! #define VIM_VERSION_MEDIUM "5.4.14" ! #define VIM_VERSION_LONG "VIM - Vi IMproved 5.4.14 (1999 Aug 7)" ! #define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 5.4.14 (1999 Aug 7, compiled " -- OLD WOMAN: Well, how did you become king, then? ARTHUR: The Lady of the Lake, her arm clad in the purest shimmering samite, held Excalibur aloft from the bosom of the water to signify by Divine Providence ... that I, Arthur, was to carry Excalibur ... That is why I am your king! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\-- \ \ www.vim.org/iccf www.moolenaar.net www.vim.org / /