aboutsummaryrefslogtreecommitdiffstats
path: root/src/pgtkterm.c
diff options
context:
space:
mode:
authorStefan Monnier2023-01-14 09:10:45 -0500
committerStefan Monnier2023-01-14 09:10:45 -0500
commit4f0459aaf756e56db5fb943177eec6eb5bd5fc4a (patch)
treed4f404727a4a55e2efc1dd4979851bcb67ccd852 /src/pgtkterm.c
parent99120491730c5839a5ba15ded187d481af1e71a7 (diff)
parent861556c1339cd65842ec3e24ba48590e6b72bd48 (diff)
downloademacs-4f0459aaf756e56db5fb943177eec6eb5bd5fc4a.tar.gz
emacs-4f0459aaf756e56db5fb943177eec6eb5bd5fc4a.zip
Merge from origin/emacs-29
861556c1339 Fix minibuffer-completion tests c0578edc8fc ; * doc/misc/eglot.texi (Troubleshooting Eglot): Fix typo... c6bbf9cc270 Add c-ts-mode tests a760364f5f3 Fix c-ts-mode--fill-paragraph 2a2b1d09ac7 Fix minor issues with 'pp' and related commands dfb38fb2ee6 ; Improve documentation of tree-sitter node comparison e8a89a18b69 ; Fix non-tree-sitter builds f27a330b99e ; Fix typo in ert-with-temp-file 956889d8ff1 Equal now recognizes tree-sitter nodes (bug#60659) 8f446c2d397 Fix c-ts-mode comment indentation (bug#60270) 083badc9c12 * lisp/subr.el (while-let): Use if-let, not if-let* (bug#... 9ecebcdded1 * lisp/simple.el (next-completion): Handle first completi... cfd2b3504ab Fix encoding with 'utf-8-auto' 53b47df8229 Report cursor correctly on PGTK when there is a margin # Conflicts: # etc/NEWS
Diffstat (limited to 'src/pgtkterm.c')
-rw-r--r--src/pgtkterm.c3
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,