aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann1999-08-30 23:14:27 +0000
committerGerd Moellmann1999-08-30 23:14:27 +0000
commitb46dfc644eb5bff5e04bf005011f83e8c8875611 (patch)
tree72a4388d868a2ea78c67dddd7e24f51b9f5418c8 /src
parent9aa95749885dfcd9dc520beac890e15e282d8da2 (diff)
downloademacs-b46dfc644eb5bff5e04bf005011f83e8c8875611.tar.gz
emacs-b46dfc644eb5bff5e04bf005011f83e8c8875611.zip
(coordinates_in_window): Use
FRAME_LEFT_FLAGS_AREA_WIDTH instead of FRAME_FLAGS_AREA_WIDTH. (window_internal_width): Subtract FRAME_FLAGS_AREA_WIDTH once instead of twice.
Diffstat (limited to 'src')
-rw-r--r--src/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index cc19b7606cf..623a48d6611 100644
--- a/src/window.c
+++ b/src/window.c
@@ -446,7 +446,7 @@ coordinates_in_window (w, x, y)
446{ 446{
447 struct frame *f = XFRAME (WINDOW_FRAME (w)); 447 struct frame *f = XFRAME (WINDOW_FRAME (w));
448 int left_x, right_x, top_y, bottom_y; 448 int left_x, right_x, top_y, bottom_y;
449 int flags_area_width = FRAME_FLAGS_AREA_WIDTH (f); 449 int flags_area_width = FRAME_LEFT_FLAGS_AREA_WIDTH (f);
450 450
451 if (w->pseudo_window_p) 451 if (w->pseudo_window_p)
452 { 452 {
@@ -3387,7 +3387,7 @@ window_internal_width (w)
3387 /* On window-systems, areas to the left and right of the window 3387 /* On window-systems, areas to the left and right of the window
3388 are used to display bitmaps there. */ 3388 are used to display bitmaps there. */
3389 if (FRAME_WINDOW_P (f)) 3389 if (FRAME_WINDOW_P (f))
3390 width -= 2 * FRAME_FLAGS_AREA_COLS (f); 3390 width -= FRAME_FLAGS_AREA_COLS (f);
3391 3391
3392 return width; 3392 return width;
3393} 3393}