diff options
Diffstat (limited to 'src/pgtkterm.c')
| -rw-r--r-- | src/pgtkterm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pgtkterm.c b/src/pgtkterm.c index 5158492ca09..c00e13550bd 100644 --- a/src/pgtkterm.c +++ b/src/pgtkterm.c | |||
| @@ -2959,7 +2959,8 @@ pgtk_draw_window_cursor (struct window *w, struct glyph_row *glyph_row, int x, | |||
| 2959 | if (w == XWINDOW (f->selected_window)) | 2959 | if (w == XWINDOW (f->selected_window)) |
| 2960 | { | 2960 | { |
| 2961 | int frame_x = (WINDOW_TO_FRAME_PIXEL_X (w, x) | 2961 | int frame_x = (WINDOW_TO_FRAME_PIXEL_X (w, x) |
| 2962 | + WINDOW_LEFT_FRINGE_WIDTH (w)); | 2962 | + WINDOW_LEFT_FRINGE_WIDTH (w) |
| 2963 | + WINDOW_LEFT_MARGIN_WIDTH (w)); | ||
| 2963 | int frame_y = WINDOW_TO_FRAME_PIXEL_Y (w, y); | 2964 | int frame_y = WINDOW_TO_FRAME_PIXEL_Y (w, y); |
| 2964 | pgtk_im_set_cursor_location (f, frame_x, frame_y, | 2965 | pgtk_im_set_cursor_location (f, frame_x, frame_y, |
| 2965 | w->phys_cursor_width, | 2966 | w->phys_cursor_width, |