Allow using last_tab_bar_item on no-x builds.

* src/frame.h (struct frame): Remove HAVE_WINDOW_SYSTEM
around last_tab_bar_item.
This commit is contained in:
Juri Linkov 2019-10-07 02:00:24 +03:00
parent 01465915c9
commit 785dda9406

View file

@ -220,10 +220,8 @@ struct frame
/* Cache of realized faces. */
struct face_cache *face_cache;
#if defined (HAVE_WINDOW_SYSTEM)
/* Tab-bar item index of the item on which a mouse button was pressed. */
int last_tab_bar_item;
#endif
#if defined (HAVE_WINDOW_SYSTEM) && ! defined (HAVE_EXT_TOOL_BAR)
/* Tool-bar item index of the item on which a mouse button was pressed. */