Comment #3 on issue 671 by Shawn.P.Huang: Patch to add delete-surrounding functionality and fix forward-key-event http://code.google.com/p/ibus/issues/detail?id=671
I have applied your patch, and also fixed the gdk_event_free problem. I think the problem is caused by event->string = gdk_keyval_name (keyval), ibus should make a copy of the string returned from gdk_keyval_name. Please test it. http://github.com/phuang/ibus/commit/bbd1d1d8573ac14bc73b4a0df639f71aae066bae BTW, I think gtk does not has a notification event when the context is changed. but ibus im context could get surrounding text from client application after some IME events (commit text, preedit changed, and etc), and check if the surrounding changed, if yes, send the current surrounding text to IME. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups "ibus-devel" group. iBus project web page: http://code.google.com/p/ibus/ iBus dev group: http://groups.google.com/group/ibus-devel?hl=en
