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:
parent
179350f563
commit
2f5910325d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user