diff --git a/company-box.el b/company-box.el index 53fd854..dc5aade 100644 --- a/company-box.el +++ b/company-box.el @@ -761,6 +761,7 @@ It doesn't nothing if a font icon is used." (defun company-box-show (&optional on-update) "Show the completion window." (unless on-update + (make-frame-invisible (company-box--get-frame)) (setq company-box--parent-start (window-start)) (add-hook 'window-scroll-functions 'company-box--handle-scroll-parent nil t)) (company-box--save) @@ -786,7 +787,7 @@ It doesn't nothing if a font icon is used." company-box--prefix-pos nil company-box--last-start nil company-box--edges nil) - (company-box--show-frame nil) + (make-frame-invisible (company-box--get-frame)) (company-box--with-buffer nil (setq company-box--last-start nil)) (remove-hook 'window-scroll-functions 'company-box--handle-scroll-parent t)