To: vim-dev@vim.org Subject: Patch 6.1.002 (extra) Fcc: outbox From: Bram Moolenaar MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.002 (extra) Problem: Win32: after a ":popup" command the mouse pointer stays hidden. Solution: Unhide the mouse pointer before showing the menu. Files: src/gui_w48.c *** ../vim61.001/src/gui_w48.c Thu Mar 21 21:30:56 2002 --- src/gui_w48.c Wed Mar 27 22:02:54 2002 *************** *** 2129,2134 **** --- 2129,2137 ---- static void gui_mch_show_popupmenu_at(vimmenu_T *menu, int x, int y) { + /* Unhide the mouse, we don't get move events here. */ + gui_mch_mousehide(FALSE); + (void)TrackPopupMenu( (HMENU)menu->submenu_id, TPM_LEFTALIGN | TPM_LEFTBUTTON, *** ../vim61.001/src/version.c Sat Mar 30 16:59:33 2002 --- src/version.c Sat Mar 30 17:04:15 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 2, /**/ -- Tips for aliens in New York: Land anywhere. Central Park, anywhere. No one will care or indeed even notice. -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy" /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///