1 Index: client/gtk2/ibusimcontext.c
2 diff --git a/client/gtk2/ibusimcontext.c b/client/gtk2/ibusimcontext.c
3 index b6ca12ee1c82c117421ed63c41d7cee331cea85e..5ae5cfc5977dc7d9d7cdb69a0da42b3d5e0ef441 100644
4 --- a/client/gtk2/ibusimcontext.c
5 +++ b/client/gtk2/ibusimcontext.c
6 @@ -278,6 +278,11 @@ _request_surrounding_text (IBusIMContext *context)
7 IDEBUG ("requesting surrounding text");
8 g_signal_emit (context, _signal_retrieve_surrounding_id, 0,
10 + if (!return_value) {
11 + context->caps &= ~IBUS_CAP_SURROUNDING_TEXT;
12 + ibus_input_context_set_capabilities (context->ibuscontext,