Move position of "at-point" popup to the left

This way the childframe is still under the point when
the cursor type is bar
This commit is contained in:
Yuan Fu 2018-12-28 21:41:16 -05:00
parent 179350f563
commit 2f5910325d
No known key found for this signature in database
GPG Key ID: 1CF5ECABEC37A901

View File

@ -220,7 +220,7 @@ Position is calculated base on WIDTH and HEIGHT of chilframe text window"
;; space on the right of the pos is not enough ;; space on the right of the pos is not enough
;; put to left ;; put to left
(max 0 (- x width)) (max 0 (- x width))
(+ x en)) x)
(if (< (- (frame-inner-height) height) y) (if (< (- (frame-inner-height) height) y)
;; space under the pos is not enough ;; space under the pos is not enough
;; put above ;; put above