mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
Avoid artifacts when changing the frame's background mode
* lisp/frame.el (frame-background-mode): Redraw the entire display, to avoid leaving artifacts around. (Bug#81739)
This commit is contained in:
parent
67efab7637
commit
4e224a7a3f
|
|
@ -1490,7 +1490,8 @@ e.g. (mapc \\='frame-set-background-mode (frame-list))."
|
|||
:group 'faces
|
||||
:set #'(lambda (var value)
|
||||
(set-default var value)
|
||||
(mapc #'frame-set-background-mode (frame-list)))
|
||||
(mapc #'frame-set-background-mode (frame-list))
|
||||
(redraw-display))
|
||||
:initialize #'custom-initialize-changed
|
||||
:type '(choice (const dark)
|
||||
(const light)
|
||||
|
|
|
|||
Loading…
Reference in a new issue