summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
author Leon Scroggins <scroggo@google.com> 2009-06-26 14:09:09 -0400
committer Leon Scroggins <scroggo@google.com> 2009-06-29 10:16:24 -0400
commit0658e8fe4592a26de34170b62a19463fd2add47b (patch)
tree27ede82ceacc135f37abdfacd6306c3e5ed8babc /libs/ui/FramebufferNativeWindow.cpp
parent243ea06d2bf67e8b54da51977687b08f49aeb093 (diff)
If the cursor moves from a focused textfield to another, remove the WebTextView.
We already remove the blinking caret, implying that if the user types with the cursor on another textfield, the keys will go there. This way, the WebView will see the key, and rebuild the WebTextView, so we no longer use the data from the first textfield. This fixes a bug where moving from a focused textfield and pressing delete with the cursor on another was deleting a character from the first (initially focused) textfield. Also, in WebView::onKeyDown, only check if the native cursor is a textfield before deciding whether to send a CLICK, since plugins will be handled differently (this is part of a different change), and now the cursor may match the focus, but we still want the click (to make the focusController active - i.e. make the cursor blink).
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions