]> git.eshelyaron.com Git - emacs.git/commit
Improve portability of alpha channel visual detection
authorPo Lu <luangruo@yahoo.com>
Sat, 19 Feb 2022 12:05:18 +0000 (20:05 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 19 Feb 2022 12:07:54 +0000 (20:07 +0800)
commit88f591f389ba4ac13dd5aebfffa7863805758bcb
treee14be67c7a2d3f200ee69cb11df18c8cf256f41d
parentf687e62ac5dff18a81354e2a29f523c16e3446c3
Improve portability of alpha channel visual detection

* src/xfns.c (select_visual): Look for PictVisuals with an alpha
channel instead of blindly assuming that 32 bit visuals have an
alpha channel.
(Fx_show_tip): Fix crash on some displays where child is None.

* src/xterm.c (x_term_init): Initialize Xrender before
calling select_visual.
src/xfns.c
src/xterm.c