summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2019-10-07 02:00:24 +0300
committerJuri Linkov <juri@linkov.net>2019-10-07 02:00:24 +0300
commit785dda9406e2bb2950cc23db42329c8fd8fb3868 (patch)
tree188ed20e6eac13f54983675e2f84526401a4404d
parent01465915c93d11fe26c189386d7103cf4904bf6a (diff)
downloademacs-785dda9406e2bb2950cc23db42329c8fd8fb3868.tar.gz
emacs-785dda9406e2bb2950cc23db42329c8fd8fb3868.tar.bz2
emacs-785dda9406e2bb2950cc23db42329c8fd8fb3868.zip
Allow using last_tab_bar_item on no-x builds.
* src/frame.h (struct frame): Remove HAVE_WINDOW_SYSTEM around last_tab_bar_item.
-rw-r--r--src/frame.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/frame.h b/src/frame.h
index 1b21cc6284b..f408f12394a 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -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. */