/[emacs]/emacs/src/xfns.c
ViewVC logotype

Diff of /emacs/src/xfns.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.587 by monnier, Tue Jul 22 19:05:18 2003 UTC revision 1.588 by handa, Mon Jul 28 13:05:14 2003 UTC
# Line 2475  xic_set_preeditarea (w, x, y) Line 2475  xic_set_preeditarea (w, x, y)
2475    XVaNestedList attr;    XVaNestedList attr;
2476    XPoint spot;    XPoint spot;
2477    
2478    spot.x = WINDOW_TO_FRAME_PIXEL_X (w, x);    spot.x = WINDOW_TO_FRAME_PIXEL_X (w, x) + WINDOW_LEFT_FRINGE_WIDTH (w);
2479    spot.y = WINDOW_TO_FRAME_PIXEL_Y (w, y) + FONT_BASE (FRAME_FONT (f));    spot.y = WINDOW_TO_FRAME_PIXEL_Y (w, y) + FONT_BASE (FRAME_FONT (f));
2480    attr = XVaCreateNestedList (0, XNSpotLocation, &spot, NULL);    attr = XVaCreateNestedList (0, XNSpotLocation, &spot, NULL);
2481    XSetICValues (FRAME_XIC (f), XNPreeditAttributes, attr, NULL);    XSetICValues (FRAME_XIC (f), XNPreeditAttributes, attr, NULL);

Legend:
Removed from v.1.587  
changed lines
  Added in v.1.588

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26