From 5cbcf11272749a0d971e2c837766eafceb30ef81 Mon Sep 17 00:00:00 2001 From: doursse Date: Fri, 13 Apr 2007 17:24:28 +0000 Subject: [PATCH] Here is ecore_x with XCB backend. * The XCB backend is disabled by default during the configuration. To enable it, add --enable-ecore-x-xcb. See the messages that configure displays when it finishes. * The way XCB is detected, and used in src/lib/ecore_x/Makefile.am should be improved * Any program that uses ecore_evas does not need to be modified. Any program that uses ecore_x may need some changes. That is, adding some functions (_prefetch and _fetch ones). No other change is needed. See the documention of any _get functions, as these are the ones that need those functions. * There are some missing parts, especially everything that involves the keyboard, as porting Xlib functions related to strings (utf8 stuff, XKeysymToString, etc...) is an horror. So keyboard events are not working yet. * I tried to write as much documentation as I could. But there is certainly some missing doc here and there. there are certainly other things that I have forgotten. Improvements of that backend: * the creation of an ecore_evas is faster. Especially when done over an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB, over an ssh) * A Window Manager should be more responsive. But it's not tomorrow that e17 will use it :) Have fun ! SVN revision: 29501 --- legacy/ecore/ecore-x.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/ecore/ecore-x.pc.in b/legacy/ecore/ecore-x.pc.in index e9a61096b6..685e2767c5 100644 --- a/legacy/ecore/ecore-x.pc.in +++ b/legacy/ecore/ecore-x.pc.in @@ -9,4 +9,4 @@ Requires: ecore-txt @requirements_ecore_x@ Version: @VERSION@ Libs: -L${libdir} -lecore_x Libs.private: @x_libs@ @Xcursor_libs@ @XRENDER_LIBS@ @XPRINT_LIBS@ @XINERAMA_LIBS@ @XRANDR_LIBS@ @XFIXES_LIBS@ @XDAMAGE_LIBS@ @XSS_LIBS@ -Cflags: -I${includedir} +Cflags: -I${includedir} @have_ecore_x_xcb_define@