diff options
| author | Chong Yidong | 2010-11-16 16:38:37 -0500 |
|---|---|---|
| committer | Chong Yidong | 2010-11-16 16:38:37 -0500 |
| commit | 7aff9c22e329691403d54e2e508f38e5284101f4 (patch) | |
| tree | d63533a9588817d958539c51dad22b9ee22193a9 /src | |
| parent | 03f70355d8105f3dd87c07089d78950319a5f2f6 (diff) | |
| download | emacs-7aff9c22e329691403d54e2e508f38e5284101f4.tar.gz emacs-7aff9c22e329691403d54e2e508f38e5284101f4.zip | |
* src/keyboard.c (make_lispy_position): Fix pixel calculation error in last commit.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 2 |
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 |