[uim-commit] r335 - trunk/scm

ekato@freedesktop.org ekato@freedesktop.org
Thu Jan 20 00:17:01 PST 2005


Author: ekato
Date: 2005-01-20 00:16:58 -0800 (Thu, 20 Jan 2005)
New Revision: 335

Modified:
   trunk/scm/skk.scm
Log:
* scm/skk.scm (skk-proc-state-direct-no-preedit) : Make sure to
  not forward skk-on-key? as native event although the key is not
  used in this state.  This is ddskk compatible behavior.


Modified: trunk/scm/skk.scm
===================================================================
--- trunk/scm/skk.scm	2005-01-20 07:00:27 UTC (rev 334)
+++ trunk/scm/skk.scm	2005-01-20 08:16:58 UTC (rev 335)
@@ -787,9 +787,15 @@
      ((skk-kana-toggle-key? key key-state)
       (skk-context-kana-toggle sc)
       #f)
+     ;; Don't forward C-j as native event in direct-mode.  I think
+     ;; this should be configurable --ekato
+     ((skk-on-key? key key-state)
+      #f)
+     ;; bad strategy. see bug #528
      ((symbol? key)
       (skk-commit-raw sc key key-state)
       #f)
+     ;; bad strategy. see bug #528
      ((and (modifier-key-mask key-state)
 	   (not (and
 	         (shift-key-mask key-state)



More information about the Uim-commit mailing list