~ubuntu-branches/ubuntu/maverick/uim/maverick

« back to all changes in this revision

Viewing changes to scm/latin.scm

  • Committer: Bazaar Package Importer
  • Author(s): Masahito Omote
  • Date: 2008-05-18 22:18:10 UTC
  • mfrom: (1.1.8 upstream)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20080518221810-4d2rd0ca18xnu8kc
Tags: 1:1.5.1-1
* New upstream release
* uim-qt3: Add uim inputcontext plugin for Qt3. And due to uim-*-qt are
  not supported in Qt4 for now officially, uim-*-qt are contained in
  this package.
* uim-qt: Depends uim-qt3 because of described above.
* libuim6: New package for syncing with upstream upgrade soversion.
* 05_qmake_bug_workaround.dpatch: patch for the workaround that qmake does
  not add link option against other libraries(e.g. -lX11) by default.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1538
1538
                  (list (list entry) entry))
1539
1539
                list
1540
1540
                charcode->string)
1541
 
       (iota 127 32)))
 
1541
       (iota 95 32)))
1542
1542
 
1543
1543
;; widgets and actions
1544
1544
 
1652
1652
             (not (or (dead-keys? key)
1653
1653
                      (eq? 'Multi_key key))))
1654
1654
            (and
1655
 
             (= 32 key) ; space
 
1655
             (eqv? 32 key) ; space
1656
1656
             (not (string-find (rk-expect rkc) " "))))
1657
1657
        (latin-commit lc)
1658
1658
        (im-commit-raw lc)
1701
1701
 
1702
1702
(define latin-press-key-handler
1703
1703
  (lambda (lc key state)
1704
 
    (if (control-char? key)
 
1704
    (if (ichar-control? key)
1705
1705
        (im-commit-raw lc)
1706
1706
        (if (latin-context-composing? lc)
1707
1707
            (latin-proc-composing-state lc key state)
1710
1710
 
1711
1711
(define latin-release-key-handler
1712
1712
  (lambda (lc key state)
1713
 
    (if (or (control-char? key)
 
1713
    (if (or (ichar-control? key)
1714
1714
            (not (latin-context-composing? lc)))
1715
1715
        ;; don't discard key release event for apps
1716
1716
        (latin-commit-raw lc))))