Some XKB functions didn't correctly call LockDisplay or UnlockDisplay.
This patch fixes at least some instances of that problem.
Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for finding these bugs
and proposing a fix, which this patch is based on.
Rename all instances of "XCL" to Xlib/XCB-derived names.
The only user-visible change: rename the include file <X11/xcl.h> to
<X11/Xlib-xcb.h>; programs will need to change their #include lines to match.
Remove the XCL cast inlines from Xlib-xcb.h.
We can never change the libX11 soname, and we don't want to commit to never
changing the public Xlib/XCB functions, so split them into a separate library
libX11-xcb. This also means that a program linked solely against libX11
should work with either Xlib or Xlib/XCB, which will make life easier for
package maintainers.
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Acked-by: Jamey Sharp <jamey@minilop.net>
No more recursive mutexes, no more banging XCB's I/O lock in-place, and
reduces the differences between the previous stable release and an
XCB-enabled one. Sadly, Xlib's pluggable thread functions work again
too, now. I apologize to the world.
Port to X11R7 of Sun bug fix 4061225 by Alex Chen for X11R6 - when failing to
connect on a named pipe, try a Unix socket first, to better support people who
replace their X servers with ones that don't support named pipe transport.
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4061225>
Setting the ChangeLog rule as phony forces it to be re-run even when the
ChangeLog file already exists. Research indicates .PHONY is portable to BSD and
Solaris make.
(cherry picked from b8a98809ed commit)
Setting the ChangeLog rule as phony forces it to be re-run even when the
ChangeLog file already exists. Research indicates .PHONY is portable to BSD and
Solaris make.
Recent autoconf versions have changed how directory names are managed in the
configure.ac script; automatic 'eval' invocations now occur as a part of the
AC_DEFINE_DIR macro which make it imperative that AC_DEFINE_DIR be executed
before the variables are used in further macro definitions. Also, ${datadir}
is apparantly an old name for ${datarootdir} as ${datadir} doesn't get
expanded correctly by AC_DEFINE_DIR. This looks like an autoconf bug, but it
is easy to work around by just using ${datarootdir} instead of ${datadir}.