summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-10-04 12:30:28 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-10-04 12:31:17 -0700
commit81c7f3afb34c28972d80c7d45a47903571f2b59d (patch)
tree82bd7f54dce59fe4bd52b1fea4824f13b6a144de /src/window.h
parentbe27f02bcfe1f99b1bfe0ed2a5669f320bb1ef59 (diff)
downloademacs-81c7f3afb34c28972d80c7d45a47903571f2b59d.tar.gz
Minor style tweaks for recent tab changes
* src/dispextern.h (MR_PARTIALLY_VISIBLE_AT_TOP): * src/window.c (Fwindow_mode_line_height) (Fwindow_header_line_height, Fwindow_tab_line_height) (Fwindow_right_divider_width, Fwindow_bottom_divider_width) (Fwindow_scroll_bar_width, Fwindow_scroll_bar_height): (Fset_window_configuration, Fcurrent_window_configuration): Omit unnecessary parens. * src/dispextern.h (CURRENT_MODE_LINE_HEIGHT) (CURRENT_HEADER_LINE_HEIGHT, CURRENT_TAB_LINE_HEIGHT): Add parens needed to make these macros function-like. * src/window.c (window_resize_check): * src/window.h (WINDOW_TAB_BAR_P): * src/xdisp.c (tab_bar_item_info): Reindent. * src/window.c (window_wants_mode_line) (window_wants_header_line, window_wants_tab_line): Simplify (a && b ? 1 : 0) to (a && b).
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/window.h b/src/window.h
index 21d2f3d3671..71946a56955 100644
--- a/src/window.h
+++ b/src/window.h
@@ -750,11 +750,11 @@ wset_next_buffers (struct window *w, Lisp_Object val)
/* True if W is a tab bar window. */
#if defined (HAVE_WINDOW_SYSTEM)
-#define WINDOW_TAB_BAR_P(W) \
- (WINDOWP (WINDOW_XFRAME (W)->tab_bar_window) \
- && (W) == XWINDOW (WINDOW_XFRAME (W)->tab_bar_window))
+# define WINDOW_TAB_BAR_P(W) \
+ (WINDOWP (WINDOW_XFRAME (W)->tab_bar_window) \
+ && (W) == XWINDOW (WINDOW_XFRAME (W)->tab_bar_window))
#else
-#define WINDOW_TAB_BAR_P(W) false
+# define WINDOW_TAB_BAR_P(W) false
#endif
/* True if W is a tool bar window. */