completion/ivy: nudge posframe up some

It was too far down on smaller displays
This commit is contained in:
Henrik Lissner 2018-08-07 14:43:27 +02:00
parent 3d363d4cb1
commit 685f282b53
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -12,5 +12,5 @@
(let ((parent-frame (plist-get info :parent-frame))
(pos (posframe-poshandler-frame-center info)))
(cons (car pos)
(truncate (/ (frame-pixel-height parent-frame) 1.6)))))
(truncate (/ (frame-pixel-height parent-frame) 2)))))