John Marriott wrote:
> On 18-Aug-2019 17:24, Bram Moolenaar wrote: > > Patch 8.1.1884 > > Problem: Cannot use mouse scroll wheel in popup in Insert mode. Mouse > > clicks in popup close the popup menu. > > Solution: Check if the mouse is in a popup window. Do not let mouse events > > close the popup menu. (closes #4544) > > Files: src/edit.c, src/popupmnu.c, src/insexpand.c > > > > > After this patch, mingw (gcc 9.1.1) throws this warning if FEAT_QUICKFIX > is not defined: > > gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 > -DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -DFEAT_GUI_MSWIN > -DFEAT_CLIPBOARD -pipe -march=native -Wall -O3 -fomit-frame-pointer > -freg-struct-return popupmnu.c -o gobjnative/popupmnu.o > popupmnu.c: In function 'pum_set_selected': > popupmnu.c:641:13: warning: unused variable 'prev_selected' > [-Wunused-variable] > 641 | int prev_selected = pum_selected; > | ^~~~~~~~~~~~~ > > Please check the attached patch which tries to fix it. Looks good, thanks! Oh, I notice I missed this file in 8.1.1892, I'll fix that as well. -- >From "know your smileys": 8-O "Omigod!!" (done "rm -rf *" ?) /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/201908202114.x7KLEkDW003167%40masaka.moolenaar.net.
