Get point position right
This commit is contained in:
parent
9137860707
commit
82dc2e96e6
@ -250,7 +250,7 @@ WINDOW nil means use selected window."
|
|||||||
(let* ((pos (pos-visible-in-window-p point window t))
|
(let* ((pos (pos-visible-in-window-p point window t))
|
||||||
(x (car pos))
|
(x (car pos))
|
||||||
(y (cadr pos))
|
(y (cadr pos))
|
||||||
(edges (window-body-pixel-edges window)))
|
(edges (window-edges window nil nil t)))
|
||||||
(cons (+ x (car edges))
|
(cons (+ x (car edges))
|
||||||
(+ y (cadr edges)))))
|
(+ y (cadr edges)))))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user