aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 6a52ed7e166..677cb991025 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1379,6 +1379,7 @@ window_from_coordinates (struct frame *f, int x, int y,
1379 cw.window = &window, cw.x = x, cw.y = y; cw.part = part; 1379 cw.window = &window, cw.x = x, cw.y = y; cw.part = part;
1380 foreach_window (f, check_window_containing, &cw); 1380 foreach_window (f, check_window_containing, &cw);
1381 1381
1382#if defined (HAVE_WINDOW_SYSTEM) && ! defined (USE_GTK) && ! defined (HAVE_NS)
1382 /* If not found above, see if it's in the tool bar window, if a tool 1383 /* If not found above, see if it's in the tool bar window, if a tool
1383 bar exists. */ 1384 bar exists. */
1384 if (NILP (window) 1385 if (NILP (window)
@@ -1391,6 +1392,7 @@ window_from_coordinates (struct frame *f, int x, int y,
1391 *part = ON_TEXT; 1392 *part = ON_TEXT;
1392 window = f->tool_bar_window; 1393 window = f->tool_bar_window;
1393 } 1394 }
1395#endif
1394 1396
1395 return window; 1397 return window;
1396} 1398}
@@ -5112,9 +5114,9 @@ and redisplay normally--don't erase and redraw the frame. */)
5112 /* Invalidate pixel data calculated for all compositions. */ 5114 /* Invalidate pixel data calculated for all compositions. */
5113 for (i = 0; i < n_compositions; i++) 5115 for (i = 0; i < n_compositions; i++)
5114 composition_table[i]->font = NULL; 5116 composition_table[i]->font = NULL;
5115 5117#if defined (HAVE_WINDOW_SYSTEM) && ! defined (USE_GTK) && ! defined (HAVE_NS)
5116 WINDOW_XFRAME (w)->minimize_tool_bar_window_p = 1; 5118 WINDOW_XFRAME (w)->minimize_tool_bar_window_p = 1;
5117 5119#endif
5118 Fredraw_frame (WINDOW_FRAME (w)); 5120 Fredraw_frame (WINDOW_FRAME (w));
5119 SET_FRAME_GARBAGED (WINDOW_XFRAME (w)); 5121 SET_FRAME_GARBAGED (WINDOW_XFRAME (w));
5120 } 5122 }