dimmer.el icon indicating copy to clipboard operation
dimmer.el copied to clipboard

Error in post-command-hook (dimmer-command-handler): (error "Invalid face" child-frame-border)

Open kha-dinh opened this issue 3 years ago • 1 comments

I pulled the latest branch of both posframe and dimmer and dimmer is broken. In particular, it print this error on init: Error in post-command-hook (dimmer-command-handler): (error "Invalid face" child-frame-border) and this error when switching between windows: face-attribute: Invalid face: child-frame-border After some digging, it seems to be this line in posframe.el that causes this error:

(when border-color
         (set-face-background 'internal-border border-color posframe--frame)
         (set-face-background 'child-frame-border border-color posframe--frame) ;; This line
         )

When I comment it out, the error is gone.

kha-dinh avatar Feb 13 '21 05:02 kha-dinh

Thanks for tracking this down. I have a few bugs to hunt down and fix, it seems.

gonewest818 avatar Feb 13 '21 06:02 gonewest818