aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorAlexander Gramiak2019-03-16 11:46:39 -0600
committerAlexander Gramiak2019-03-16 13:15:07 -0600
commitcc06d76865a7a98b5fd4edd03a044f2baefb85a9 (patch)
treebebc69c07239c84cbaf8693f99d25d099fcd2072 /src/window.c
parent7d8fe1f9f66110b23972869496e2000e9c35bb6d (diff)
downloademacs-cc06d76865a7a98b5fd4edd03a044f2baefb85a9.tar.gz
emacs-cc06d76865a7a98b5fd4edd03a044f2baefb85a9.zip
Define macros to abstract support for external menu/tool-bars
* src/lisp.h (HAVE_EXT_MENU_BAR) (HAVE_EXT_TOOL_BAR): Define. *src/dispnew.c: *src/frame.c: *src/frame.h: *src/keyboard.c: *src/menu.c: *src/menu.h: *src/window.c: *src/window.h: *src/xdisp.c: *src/xfns: Use the new macros.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index ae039b76add..85d7bcade94 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1599,7 +1599,7 @@ window_from_coordinates (struct frame *f, int x, int y,
1599 cw.window = &window, cw.x = x, cw.y = y; cw.part = part; 1599 cw.window = &window, cw.x = x, cw.y = y; cw.part = part;
1600 foreach_window (f, check_window_containing, &cw); 1600 foreach_window (f, check_window_containing, &cw);
1601 1601
1602#if defined (HAVE_WINDOW_SYSTEM) && ! defined (USE_GTK) && ! defined (HAVE_NS) 1602#if defined (HAVE_WINDOW_SYSTEM) && ! defined (HAVE_EXT_TOOL_BAR)
1603 /* If not found above, see if it's in the tool bar window, if a tool 1603 /* If not found above, see if it's in the tool bar window, if a tool
1604 bar exists. */ 1604 bar exists. */
1605 if (NILP (window) 1605 if (NILP (window)
@@ -6398,7 +6398,7 @@ and redisplay normally--don't erase and redraw the frame. */)
6398 /* Invalidate pixel data calculated for all compositions. */ 6398 /* Invalidate pixel data calculated for all compositions. */
6399 for (i = 0; i < n_compositions; i++) 6399 for (i = 0; i < n_compositions; i++)
6400 composition_table[i]->font = NULL; 6400 composition_table[i]->font = NULL;
6401#if defined (HAVE_WINDOW_SYSTEM) && ! defined (USE_GTK) && ! defined (HAVE_NS) 6401#if defined (HAVE_WINDOW_SYSTEM) && ! defined (HAVE_EXT_TOOL_BAR)
6402 WINDOW_XFRAME (w)->minimize_tool_bar_window_p = 1; 6402 WINDOW_XFRAME (w)->minimize_tool_bar_window_p = 1;
6403#endif 6403#endif
6404 Fredraw_frame (WINDOW_FRAME (w)); 6404 Fredraw_frame (WINDOW_FRAME (w));