diff options
author | Po Lu <luangruo@yahoo.com> | 2022-01-19 17:39:04 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-01-19 17:41:22 +0800 |
commit | de614ec9508d6ba34abf9db28f5d086b8710e361 (patch) | |
tree | 35aa403aa4e645e7f51015602135341dfacd0493 /test/lisp/emacs-lisp/shortdoc-tests.el | |
parent | 596d0bda6da8b8c9092bc3778738912c7bdfc544 (diff) | |
download | emacs-de614ec9508d6ba34abf9db28f5d086b8710e361.tar.gz emacs-de614ec9508d6ba34abf9db28f5d086b8710e361.tar.bz2 emacs-de614ec9508d6ba34abf9db28f5d086b8710e361.zip |
Use Cairo XCB surfaces when XCB is available
This lets us get at goodies such as shm support, which aren't
available with the xlib surface. (bug#52120)
* configure.ac: Test for cairo-xcb if cairo is available on X.
* src/xterm.c (USE_CAIRO_XCB_SURFACE): New define.
(x_begin_cr_clip): Create XCB surfaces if available.
(x_try_cr_xlib_drawable):
(x_scroll_run): Handle XCB surfaces.
(x_term_init): Find XCB visualtype structure.
* src/xterm.h (struct x_display_info): New field `xcb_visual'.
* src/xwidget.c (x_draw_xwidget_glyph_string): Fix integer
overflow.
Diffstat (limited to 'test/lisp/emacs-lisp/shortdoc-tests.el')
0 files changed, 0 insertions, 0 deletions