aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 1073fa11f7a..d048404e856 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -5280,7 +5280,7 @@ make_lispy_position (struct frame *f, Lisp_Object x, Lisp_Object y,
5280 buffer_posn_from_coords. */ 5280 buffer_posn_from_coords. */
5281 if (part == ON_TEXT) 5281 if (part == ON_TEXT)
5282 { 5282 {
5283 xret = wx - window_box_left (w, TEXT_AREA); 5283 xret = XINT (x) - window_box_left (w, TEXT_AREA);
5284 yret = wy - WINDOW_HEADER_LINE_HEIGHT (w); 5284 yret = wy - WINDOW_HEADER_LINE_HEIGHT (w);
5285 } 5285 }
5286 /* For mode line and header line clicks, return X relative to 5286 /* For mode line and header line clicks, return X relative to