diff --git a/src/popupwin.c b/src/popupwin.c
index 0af6d52de9f39e5950b6adf26e5eb8481615beb0..59a0bdf78a8d062336fa0feacffd15a4288fc64a 100644
--- a/src/popupwin.c
+++ b/src/popupwin.c
@@ -3504,10 +3504,12 @@ may_update_popup_mask(int type)
 			wp = mouse_find_win(&line_cp, &col_cp, IGNORE_POPUP);
 			if (wp != NULL)
 			{
+#if defined(FEAT_TERMINAL)
 			    // A terminal window needs to be redrawn.
 			    if (bt_terminal(wp->w_buffer))
 				redraw_win_later(wp, NOT_VALID);
 			    else
+#endif
 			    {
 				if (wp != prev_wp)
 				{
diff --git a/src/version.c b/src/version.c
index b7555b7236ec0e911e1bbfcb664d5bf3475b9ecd..34acc6b69f548f4a9773ceee58ff8bd5b33ecee6 100644
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1196,
 /**/
     1195,
 /**/