branch: externals/ivy-posframe
commit 2cac20df3a0e7bdaf14d9d8b4652d7c1e1c482cd
Author: Feng Shu <[email protected]>
Commit: Feng Shu <[email protected]>
Hide minibuffer when posframe workable
---
ivy-posframe.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/ivy-posframe.el b/ivy-posframe.el
index 0923a39..7e8236c 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -500,6 +500,7 @@ The return value is undefined.
(let ((ivy-fixed-height-minibuffer nil))
(apply fn args))
(when (and ivy-posframe-hide-minibuffer
+ (posframe-workable-p)
;; if display-function is not a ivy-posframe style
display-function.
;; do not hide minibuffer.
;; The hypothesis is that all ivy-posframe style display functions