[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu 13a6f6b57d 2/6: Set the fringe background color f
From: |
ELPA Syncer |
Subject: |
[elpa] externals/corfu 13a6f6b57d 2/6: Set the fringe background color for the created child frame |
Date: |
Sat, 4 Jun 2022 13:57:23 -0400 (EDT) |
branch: externals/corfu
commit 13a6f6b57d7b0589286f7aab539088dddd0e5f21
Author: Yuwei Tian <ibluefocus@outlook.com>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Set the fringe background color for the created child frame
---
corfu.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/corfu.el b/corfu.el
index b29d0fec74..54f2ad6345 100644
--- a/corfu.el
+++ b/corfu.el
@@ -446,11 +446,13 @@ The created frame can be accessed via FRAME."
;; frame flickers on Mac.
;; XXX HACK We have to apply the face background before adjusting the frame
;; parameter, otherwise the border is not updated (BUG!).
- (let* ((face (if (facep 'child-frame-border) 'child-frame-border
'internal-border))
- (new (face-attribute 'corfu-border :background nil 'default)))
+ (let ((face (if (facep 'child-frame-border) 'child-frame-border
'internal-border))
+ (new (face-attribute 'corfu-border :background nil 'default)))
(unless (equal (face-attribute face :background frame 'default) new)
(set-face-background face new frame)))
(let ((new (face-attribute 'corfu-default :background nil 'default)))
+ (unless (equal (face-attribute 'fringe :background frame 'default) new)
+ (set-face-background 'fringe new frame))
(unless (equal (frame-parameter frame 'background-color) new)
(set-frame-parameter frame 'background-color new)))
(let ((win (frame-root-window frame)))
- [elpa] externals/corfu updated (a262a21432 -> 0bc9262131), ELPA Syncer, 2022/06/04
- [elpa] externals/corfu 68891b5585 3/6: Add corfu--set-frame-position, ELPA Syncer, 2022/06/04
- [elpa] externals/corfu 450cf9d9e7 5/6: Remove content-handler, ELPA Syncer, 2022/06/04
- [elpa] externals/corfu 4ca248a090 1/6: Generalize `corfu--make-buffer' and `corfu--make-frame', ELPA Syncer, 2022/06/04
- [elpa] externals/corfu 13a6f6b57d 2/6: Set the fringe background color for the created child frame,
ELPA Syncer <=
- [elpa] externals/corfu 175835dc0c 4/6: Extract corfu--make-frame-1 from corfu--make-frame, ELPA Syncer, 2022/06/04
- [elpa] externals/corfu 0bc9262131 6/6: Refactor corfu--make-frame, ELPA Syncer, 2022/06/04