updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / ibus-3beol / 00_2011.11.29.0.issue5431086_1.patch
blobd043484a82191210df5157cc912b0f0845bd6668
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,
9 &return_value);
10 + if (!return_value) {
11 + context->caps &= ~IBUS_CAP_SURROUNDING_TEXT;
12 + ibus_input_context_set_capabilities (context->ibuscontext,
13 + context->caps);
14 + }