We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ec4fb4 commit 9aa61c8Copy full SHA for 9aa61c8
lsp-ui-doc.el
@@ -395,7 +395,8 @@ We don't extract the string that `lps-line' is already displaying."
395
(when-let ((frame (lsp-ui-doc--get-frame)))
396
(unless lsp-ui-doc-use-webkit
397
(lsp-ui-doc--with-buffer (erase-buffer)))
398
- (make-frame-invisible frame)))
+ (when (frame-visible-p frame)
399
+ (make-frame-invisible frame))))
400
401
(defun lsp-ui-doc--buffer-width ()
402
"Calcul the max width of the buffer."
0 commit comments