summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui.c2
-rw-r--r--src/gui.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/gui.c b/src/gui.c
index adca7fbe87..a7ae722342 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -2714,7 +2714,7 @@ gui_wait_for_chars(wtime)
}
/*
- * Fill buffer with mouse coordinates encoded for check_termcode().
+ * Fill p[4] with mouse coordinates encoded for check_termcode().
*/
static void
fill_mouse_coord(p, col, row)
diff --git a/src/gui.h b/src/gui.h
index 2e757b81ab..14b8d3fa3d 100644
--- a/src/gui.h
+++ b/src/gui.h
@@ -71,6 +71,10 @@
# define ALWAYS_USE_GUI
#endif
+/*
+ * On some systems scrolling needs to be done right away instead of in the
+ * main loop.
+ */
#if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_MAC) || defined(HAVE_GTK2)
# define USE_ON_FLY_SCROLL
#endif