Skip to content

Commit 465ffa8

Browse files
author
Yuuki Harano
committed
Merge branch 'master' of https://github.com/emacs-mirror/emacs
image の表示で半透明処理がうまくいってなかったのを修正。
1 parent 57289b5 commit 465ffa8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pgtkfns.c

+2
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ x_set_background_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval)
182182

183183
PGTK_TRACE("x_set_background_color: col.pixel=%08lx.", col.pixel);
184184
FRAME_X_OUTPUT(f)->background_color = col.pixel;
185+
FRAME_BACKGROUND_PIXEL (f) =
186+
ARGB_TO_ULONG ((int)(0xff), (int)(col.red>>8), (int)(col.green>>8), (int)(col.blue>>8));
185187

186188
xg_set_background_color(f, col.pixel);
187189
update_face_from_frame_parameter (f, Qbackground_color, arg);

0 commit comments

Comments
 (0)