Update fringe face everytime the childframe is redisplayed

This commit is contained in:
Yuan Fu 2019-03-05 16:06:46 -05:00
parent 6caf8a2710
commit 0d671026b9
No known key found for this signature in database
GPG Key ID: 1CF5ECABEC37A901

View File

@ -260,9 +260,8 @@ Checkout `lsp-ui-doc--make-frame', `lsp-ui-doc--move-frame'."
(setq window (display-buffer-in-child-frame
buffer
`((child-frame-parameters . ,parameter))))
(setq frame (window-frame window))
(when eldoc-box-fringe-use-same-bg
(set-face-attribute 'fringe frame :background nil :inherit 'default)))
(setq frame (window-frame window)))
(set-face-attribute 'fringe frame :background nil :inherit 'default)
(set-window-dedicated-p window t)
(redirect-frame-focus frame (frame-parent frame))
(set-face-attribute 'internal-border frame :inherit 'eldoc-box-border)