diff options
author | HÃ¥kon Flatval <hkon20@hotmail.com> | 2022-01-29 16:13:06 +0100 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-01-30 08:38:32 +0800 |
commit | b944841173f12134e4c68d269d5b82b1820b2a40 (patch) | |
tree | 2b6e67f274027b2e608bf1624a92cc80159b8be7 /src/nsfns.m | |
parent | 35cd9197fc3bda7576b3c343d1183360067dccd2 (diff) | |
download | emacs-b944841173f12134e4c68d269d5b82b1820b2a40.tar.gz emacs-b944841173f12134e4c68d269d5b82b1820b2a40.tar.bz2 emacs-b944841173f12134e4c68d269d5b82b1820b2a40.zip |
Add background transparency support for GTK+Cairo
Diffstat (limited to 'src/nsfns.m')
-rw-r--r-- | src/nsfns.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nsfns.m b/src/nsfns.m index 11132a294a5..467e56ece41 100644 --- a/src/nsfns.m +++ b/src/nsfns.m @@ -1004,6 +1004,7 @@ frame_parm_handler ns_frame_parm_handlers[] = ns_set_z_group, 0, /* x_set_override_redirect */ gui_set_no_special_glyphs, + gui_set_alpha_background, #ifdef NS_IMPL_COCOA ns_set_appearance, ns_set_transparent_titlebar, @@ -1436,6 +1437,8 @@ DEFUN ("x-create-frame", Fx_create_frame, Sx_create_frame, RES_TYPE_NUMBER); gui_default_parameter (f, parms, Qalpha, Qnil, "alpha", "Alpha", RES_TYPE_NUMBER); + gui_default_parameter (f, parms, Qalpha_background, Qnil, + "alphaBackground", "AlphaBackground", RES_TYPE_NUMBER); gui_default_parameter (f, parms, Qfullscreen, Qnil, "fullscreen", "Fullscreen", RES_TYPE_SYMBOL); |