summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-03-03 19:29:43 +0100
committerBram Moolenaar <Bram@vim.org>2018-03-03 19:29:43 +0100
commit658a154cbf2362c49a9797d9b2b9b69f481cd940 (patch)
treea76f0dc7accf6e409315a879d2556fa537e35738
parentaef8c3da2ba59285b7cfde559ae21cdce6ba6919 (diff)
patch 8.0.1559: build failure without GUIv8.0.1559
Problem: Build failure without GUI. Solution: Adjust #ifdef for get_fpos_of_mouse().
-rw-r--r--src/ui.c3
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ui.c b/src/ui.c
index 5cccd4457d..b758c4f1d0 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -3199,7 +3199,8 @@ mouse_find_win(int *rowp, int *colp UNUSED)
#if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MAC) \
|| defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MSWIN) \
- || defined(FEAT_GUI_PHOTON) || defined(PROTO)
+ || defined(FEAT_GUI_PHOTON) || defined(FEAT_TERM_POPUP_MENU) \
+ || defined(PROTO)
/*
* Translate window coordinates to buffer position without any side effects
*/
diff --git a/src/version.c b/src/version.c
index f6972163c8..716b29b4d4 100644
--- a/src/version.c
+++ b/src/version.c
@@ -779,6 +779,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1559,
+/**/
1558,
/**/
1557,