Improve transparency for only do transparent to the background.

This commit is contained in:
kj
2023-04-26 20:49:35 -04:00
parent 8e9a3fc301
commit fc9e1bf17e
2 changed files with 2 additions and 3 deletions

View File

@ -13,7 +13,7 @@
(defun transparency (value)
"Change the transparency of the frame window, setting VALUE from 0 to 100."
(interactive "nTransparency Value 0 - 100 opaque:")
(set-frame-parameter (selected-frame) 'alpha value))
(set-frame-parameter nil 'alpha-background value))
;; Crear captura SVG del frame atual. Fuente: https://www.reddit.com/r/emacs/comments/idz35e/emacs_27_can_take_svg_screenshots_of_itself/
(defun screenshot-svg ()