aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c
index ab04396703e..b9b396382b1 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -2785,7 +2785,7 @@ xic_set_preeditarea (struct window *w, int x, int y)
2785 XVaNestedList attr; 2785 XVaNestedList attr;
2786 XPoint spot; 2786 XPoint spot;
2787 2787
2788 spot.x = WINDOW_TO_FRAME_PIXEL_X (w, x) + WINDOW_LEFT_FRINGE_WIDTH (w); 2788 spot.x = WINDOW_TO_FRAME_PIXEL_X (w, x) + WINDOW_LEFT_FRINGE_WIDTH (w) + WINDOW_LEFT_MARGIN_WIDTH(w);
2789 spot.y = WINDOW_TO_FRAME_PIXEL_Y (w, y) + FONT_BASE (FRAME_FONT (f)); 2789 spot.y = WINDOW_TO_FRAME_PIXEL_Y (w, y) + FONT_BASE (FRAME_FONT (f));
2790 attr = XVaCreateNestedList (0, XNSpotLocation, &spot, NULL); 2790 attr = XVaCreateNestedList (0, XNSpotLocation, &spot, NULL);
2791 XSetICValues (FRAME_XIC (f), XNPreeditAttributes, attr, NULL); 2791 XSetICValues (FRAME_XIC (f), XNPreeditAttributes, attr, NULL);