[Mono-dev] [PATCH] Re: Input method context switch
Tom Hindle
tom_hindle at sil.org
Thu Nov 12 18:55:47 EST 2009
Cross posting as this belongs on the mono-winforms list.
Attaching patch for review.
Thanks
Tom
On Tue, 2009-11-03 at 16:50 +0700, Tim Armstrong wrote:
> Hi mono team,
> in developing software for linguistic applications our team recently
> developed a patch for the SCIM input method manager that allows us to
> programmatically change the selected Input Method (IM). The key idea is
> that when a user switches from a textbox that expects English input to,
> say, a textbox that expects Thai, the Input Method is automatically
> switched.
> We do this switch in the OnEnter eventhandler. Unfortunately, it seems
> that the X Input Context is switched AFTER the OnEntry event is fired.
> As a result we end up switching the IM for the previous context (ie the
> English textbox) rather than the new one (ie the Thai textbox). Can you
> give any insight into this behavior or do have any thoughts?
> Thanks,
> Tim
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XIM-focus.patch
Type: text/x-patch
Size: 1277 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20091112/9e6eae02/attachment.bin
More information about the Mono-devel-list
mailing list