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); |