mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.0208
This commit is contained in:
22
src/gui.c
22
src/gui.c
@@ -3420,6 +3420,28 @@ get_tabline_label(tp)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Send the event for clicking to select tab page "nr".
|
||||||
|
* Returns TRUE if it was done, FALSE when skipped because we are already at
|
||||||
|
* that tab page.
|
||||||
|
*/
|
||||||
|
int
|
||||||
|
send_tabline_event(nr)
|
||||||
|
int nr;
|
||||||
|
{
|
||||||
|
char_u string[3];
|
||||||
|
|
||||||
|
if (nr == tabpage_index(curtab))
|
||||||
|
return FALSE;
|
||||||
|
string[0] = CSI;
|
||||||
|
string[1] = KS_TABLINE;
|
||||||
|
string[2] = KE_FILLER;
|
||||||
|
add_to_input_buf(string, 3);
|
||||||
|
string[0] = nr;
|
||||||
|
add_to_input_buf_csi(string, 1);
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -8,12 +8,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef FEAT_GUI_MOTIF
|
#ifdef FEAT_GUI_MOTIF
|
||||||
# define FEAT_GUI_X11
|
|
||||||
# include <Xm/Xm.h>
|
# include <Xm/Xm.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef FEAT_GUI_ATHENA
|
#ifdef FEAT_GUI_ATHENA
|
||||||
# define FEAT_GUI_X11
|
|
||||||
# include <X11/Intrinsic.h>
|
# include <X11/Intrinsic.h>
|
||||||
# include <X11/StringDefs.h>
|
# include <X11/StringDefs.h>
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user