Mercurial > emacs
changeset 52059:4b5692f6703a
(xic_set_preeditarea): Add the left fringe width to spot.x.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 28 Jul 2003 13:05:14 +0000 |
parents | 5d60b6e20fbd |
children | f0369cfaab3b |
files | src/xfns.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfns.c Mon Jul 28 06:27:09 2003 +0000 +++ b/src/xfns.c Mon Jul 28 13:05:14 2003 +0000 @@ -2475,7 +2475,7 @@ XVaNestedList attr; XPoint spot; - spot.x = WINDOW_TO_FRAME_PIXEL_X (w, x); + spot.x = WINDOW_TO_FRAME_PIXEL_X (w, x) + WINDOW_LEFT_FRINGE_WIDTH (w); spot.y = WINDOW_TO_FRAME_PIXEL_Y (w, y) + FONT_BASE (FRAME_FONT (f)); attr = XVaCreateNestedList (0, XNSpotLocation, &spot, NULL); XSetICValues (FRAME_XIC (f), XNPreeditAttributes, attr, NULL);