]> git.eshelyaron.com Git - emacs.git/commitdiff
Allow using last_tab_bar_item on no-x builds.
authorJuri Linkov <juri@linkov.net>
Sun, 6 Oct 2019 23:00:24 +0000 (02:00 +0300)
committerJuri Linkov <juri@linkov.net>
Sun, 6 Oct 2019 23:00:24 +0000 (02:00 +0300)
* src/frame.h (struct frame): Remove HAVE_WINDOW_SYSTEM
around last_tab_bar_item.

src/frame.h

index 1b21cc6284bb30fe34f20de82ba8791081c5f88b..f408f12394a45a6ba2f7bb5b7f6669294acefc8b 100644 (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.  */