Commit 17e6d491 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(xic_set_preeditarea): Add the left fringe width to spot.x.

parent c5209376
2003-07-28 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> (tiny change)
* xfns.c (xic_set_preeditarea): Add the left fringe width to
spot.x.
2003-07-22 Stefan Monnier <monnier@cs.yale.edu>
* xfns.c: Don't check HAVE_PNG_H: autoconf doesn't seem to find it.
......
......@@ -2475,7 +2475,7 @@ xic_set_preeditarea (w, x, y)
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment