To: vim-dev@vim.org Subject: patch 5.5.42 Fcc: outbox From: Bram Moolenaar ------------ Patch 5.5.042 Problem: X11 GUI: keys with ALT were assumed to be used for the menu, even when the menu has been disabled by removing 'm' from 'guioptions'. Solution: Ignore keys with ALT only when gui.menu_is_active is set. (Raf) Files: src/gui_x11.c *** ../vim-5.5.41/src/gui_x11.c Wed Dec 1 19:51:18 1999 --- src/gui_x11.c Thu Dec 2 19:44:04 1999 *************** *** 603,610 **** { #ifdef USE_GUI_MOTIF /* Ignore ALT keys when they are used for the menu only */ ! if (p_wak[0] == 'y' ! || (p_wak[0] == 'm' && gui_is_menu_shortcut(string[0]))) { #ifdef USE_XIM if (string_alloced) --- 603,611 ---- { #ifdef USE_GUI_MOTIF /* Ignore ALT keys when they are used for the menu only */ ! if (gui.menu_is_active ! && (p_wak[0] == 'y' ! || (p_wak[0] == 'm' && gui_is_menu_shortcut(string[0])))) { #ifdef USE_XIM if (string_alloced) *** ../vim-5.5.41/src/version.c Wed Dec 1 19:51:18 1999 --- src/version.c Thu Dec 2 19:47:00 1999 *************** *** 420,420 **** --- 420,421 ---- { /* Add new patch number below this line */ + 42, -- hundred-and-one symptoms of being an internet addict: 188. You purchase a laptop so you can surf while sitting on the can. --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\-- \ \ www.vim.org/iccf www.moolenaar.net www.vim.org / /