[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: [PATCH] Fix XIM input in HTML form (Re: Japanese input testing survey)
From: Toshitaka Fujioka <toshitaka () kde ! gr ! jp>
Date: 2002-03-07 16:03:19
[Download RAW message or body]
Hello,
On Wednesday 06 March 2002 14:04, Neil Stevens wrote:
[snip]
> HTML form in Konqueror/khtml: fails in all modes
I fixed this bug and patch attached.
Please review.
--
Toshitaka Fujioka
http://www.kde.org The K Desktop Environment Project
fujioka@kde.org
http://www.kde.gr.jp Japan KDE User's Group
toshitaka@kde.gr.jp
-- A journey of a thousand miles must begin with a single step. Lao-zi --
["kdelibs-khtml-fixXIMinputInForm-20020308.diff" (text/x-diff)]
? kdelibs-khtml-fixXIMinputInForm-20020308.diff
Index: dom_nodeimpl.cpp
===================================================================
RCS file: /home/kde/kdelibs/khtml/xml/dom_nodeimpl.cpp,v
retrieving revision 1.178
diff -u -3 -d -p -r1.178 dom_nodeimpl.cpp
--- dom_nodeimpl.cpp 2002/02/28 22:30:33 1.178
+++ dom_nodeimpl.cpp 2002/03/07 15:58:26
@@ -532,7 +532,9 @@ bool NodeImpl::dispatchGenericEvent( Eve
if (evt->bubbles()) {
// now we call all default event handlers (this is not part of DOM - it is \
internal to khtml)
- it.toLast();
+ if ( evt->id() != ( EventImpl::KHTML_KEYPRESS_EVENT || \
EventImpl::KHTML_KEYDOWN_EVENT || EventImpl::KHTML_KEYUP_EVENT ) ) + \
it.toLast(); +
for (; it.current() && !evt->propagationStopped() && \
!evt->defaultPrevented() && !evt->defaultHandled(); --it) \
it.current()->defaultEventHandler(evt); }
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic