#define DBG(a,b) if(_dbg>=(a))b
-static int _dbg = 0;
+int _dbg = 0;
static CORBA_Environment ev;
static Accessibility_Registry registry = CORBA_OBJECT_NIL;
static Accessibility_DeviceEventController device_event_controller = CORBA_OBJECT_NIL;
libbonobo-2.0 >= 1.107.0 \
gtk+-2.0 > 2.0.0 \
atk >= 1.3.4)
-REGISTRYD_LIBS="$REGISTRYD_LIBS"
AC_SUBST(REGISTRYD_LIBS)
AC_SUBST(REGISTRYD_CFLAGS)
PKG_CHECK_MODULES(ATK_BRIDGE, \
libbonobo-2.0 >= 1.107.0 \
atk >= 1.3.4)
-ATK_BRIDGE_LIBS="$ATK_BRIDGE_LIBS"
AC_SUBST(ATK_BRIDGE_LIBS)
AC_SUBST(ATK_BRIDGE_CFLAGS)
CFLAGS="$CFLAGS $X_LIBS"
dnl path to Xtst
-AC_CHECK_LIB(Xtst, XTestFakeKeyEvent, XTST_LIBS=-lXtst)
-if test "x$XTST_LIBS" = x; then
- AC_MSG_ERROR(Couldn't find the Xtst library. Check config.log for details)
-fi
+AC_CHECK_LIB(Xtst, XTestFakeKeyEvent, XTST_LIBS=-lXtst,[
+ AC_MSG_ERROR([Couldn't find the Xtst library. Check config.log])],
+ -lX11 -lXext)
AC_SUBST(XTST_LIBS)
have_xkb=
Accessibility_DeviceEvent key_event;
KeySym keysym;
const int cbuf_bytes = 20;
- char cbuf [cbuf_bytes+1];
+ char cbuf [21];
int nbytes;
nbytes = XLookupString (x_key_event, cbuf, cbuf_bytes, &keysym, NULL);
else
{
etype->minor = etype->major;
- etype->detail = g_quark_from_static_string (""); //etype->major;
+ etype->detail = g_quark_from_static_string (""); /*etype->major;*/
}
}
else
{
GList *target, *iter = next, *prev;
prev = iter->prev;
-// if (chunk->string && strlen (chunk->string)) {
+/* if (chunk->string && strlen (chunk->string)) { */
text_chunk_list =
g_list_insert_before (text_chunk_list, next, chunk);
-// }
+/* }*/
while (iter && CHUNK_BOUNDS_SPANS_END (chunk, (TextChunk *)iter->data)) {
#ifdef CLIP_DEBUG
fprintf (stderr, "deleting %s\n",