patch 9.0.1025: WinScrolled is not triggered when filler lines change
Problem: WinScrolled is not triggered when filler lines change.
Solution: Add "topfill" to the values that WinScrolled triggers on.
(closes #11668)
diff --git a/src/structs.h b/src/structs.h
index 824de45..cefe655 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -3618,6 +3618,9 @@
// five fields that are only used when there is a WinScrolled autocommand
linenr_T w_last_topline; // last known value for w_topline
+#ifdef FEAT_DIFF
+ linenr_T w_last_topfill; // last known value for w_topfill
+#endif
colnr_T w_last_leftcol; // last known value for w_leftcol
colnr_T w_last_skipcol; // last known value for w_skipcol
int w_last_width; // last known value for w_width