mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
Problem: balloon_show() only works in terminal when compiled with the GUI. Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI specific file.
This commit is contained in:
4
src/ui.c
4
src/ui.c
@@ -3208,7 +3208,11 @@ get_fpos_of_mouse(pos_T *mpos)
|
||||
#endif
|
||||
return IN_BUFFER;
|
||||
}
|
||||
#endif
|
||||
|
||||
#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(FEAT_BEVAL) || defined(PROTO)
|
||||
/*
|
||||
* Convert a virtual (screen) column to a character column.
|
||||
* The first column is one.
|
||||
|
Reference in New Issue
Block a user