From ba59a850d1320f569f42f8ea94648fa4ba6ca067 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Tue, 19 Apr 2011 15:42:38 +0900 Subject: [PATCH] Fix compilation error when --disable-atspi. --- src/client.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client.c b/src/client.c index 2bb01f54..27003258 100644 --- a/src/client.c +++ b/src/client.c @@ -810,7 +810,11 @@ eekboard_client_load_keyboard_from_file (EekboardClient *client, layout = eek_xml_layout_new (G_INPUT_STREAM(input)); g_object_unref (input); +#ifdef HAVE_ATSPI retval = set_keyboard (client, !client->follows_focus, layout); +#else + retval = set_keyboard (client, TRUE, layout); +#endif g_object_unref (layout); return retval; }