[Uim-bugs] [Bug 1853] uim-svn1643: uim-xim doesn't work
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Nov 15 08:31:47 EET 2004
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://freedesktop.org/bugzilla/show_bug.cgi?id=1853
------- Additional Comments From yamaken at bp.iij4u.or.jp 2004-11-14 22:31 -------
I suggest another workaround. It will reduce unwanted behavior for uim-xim.
Etsushi, please test it.
Index: scm/im.scm
===================================================================
--- scm/im.scm (revision 1644)
+++ scm/im.scm (working copy)
@@ -202,10 +202,6 @@
(arg (and im (im-init-arg im))))
(if (find-context id)
(release-context id))
- ;; To remember the IM selected by uim-toolbar, we record the
- ;; latest IM to default-im-name. This makes subsequent contexts
- ;; the selected one. -- YamaKen 2004-11-11
- (set! default-im-name (im-name im))
(im-set-encoding id (im-encoding im))
(update-style uim-color-spec (symbol-value uim-color))
(let* ((handler (im-init-handler im))
Index: uim/uim.c
===================================================================
--- uim/uim.c (revision 1644)
+++ uim/uim.c (working copy)
@@ -248,6 +248,13 @@
uc->short_desc = uim_return_str;
uim_return_str = NULL; /* ownership has been transferred */
#endif
+
+ /*
+ To remember the IM selected by uim-toolbar, we record the latest
+ IM to default-im-name. This makes subsequent contexts the
+ selected one. -- YamaKen 2004-11-11
+ */
+ UIM_EVAL_FSTRING1(uc, "(set! default-im-name '%s)", engine);
}
void
--
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the uim-bugs
mailing list