Patch 8.1.1850 Problem: Focus may remain in popup window. Solution: Change focus if needed. Files: src/popupmnu.c
*** ../vim-8.1.1849/src/popupmnu.c 2019-07-07 18:27:52.365277132 +0200 --- src/popupmnu.c 2019-08-05 20:45:49.175060398 +0200 *************** *** 814,820 **** * update the view on the buffer. Only go back to * the window when needed, otherwise it will always be * redraw. */ ! if (resized) { ++no_u_sync; win_enter(curwin_save, TRUE); --- 814,820 ---- * update the view on the buffer. Only go back to * the window when needed, otherwise it will always be * redraw. */ ! if (resized && win_valid(curwin_save)) { ++no_u_sync; win_enter(curwin_save, TRUE); *************** *** 844,849 **** --- 844,854 ---- } } } + # ifdef FEAT_TEXT_PROP + if (WIN_IS_POPUP(curwin)) + // can't keep focus in a popup window + win_enter(firstwin, TRUE); + # endif } #endif } *** ../vim-8.1.1849/src/version.c 2019-08-15 21:30:26.626085145 +0200 --- src/version.c 2019-08-15 21:33:22.297317239 +0200 *************** *** 771,772 **** --- 771,774 ---- { /* Add new patch number below this line */ + /**/ + 1850, /**/ -- hundred-and-one symptoms of being an internet addict: 58. You turn on your computer and turn off your wife. /// Bram Moolenaar -- b...@moolenaar.net -- 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 vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/201908151935.x7FJZ1xO011730%40masaka.moolenaar.net.