]> git.eshelyaron.com Git - emacs.git/commit
Detect XCB and save a connection handle
authorKen Raeburn <raeburn@raeburn.org>
Sat, 7 Nov 2015 08:06:32 +0000 (03:06 -0500)
committerKen Raeburn <raeburn@raeburn.org>
Thu, 12 Nov 2015 08:58:09 +0000 (03:58 -0500)
commitc7f2b6ad892c93b8b848d21835a4b093c424cae6
treec5be79d73006eda5c724cd3e07111b60d266484a
parente1c27dbd25ab22f6000d1e46259e2a60d56416c1
Detect XCB and save a connection handle

* configure.ac: If using X11, check for XCB libraries and header.
* src/Makefile.in (XCB_LIBS): Define.
(LIBX_EXTRA): Include it.

* src/xterm.h [USE_XCB]: Include X11/Xlib-xcb.h.
(struct x_display_info) [USE_XCB]: Add an XCB connection handle field.
* src/xterm.c (x_term_init) [USE_XCB]: Initialize the new field.
configure.ac
src/Makefile.in
src/xterm.c
src/xterm.h