summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorten Johan Sorvig <morten.sorvig@nokia.com>2010-03-31 00:02:50 +0200
committerMorten Johan Sorvig <morten.sorvig@nokia.com>2010-03-31 00:02:50 +0200
commitf567b551d0f65a34c5b61951262281fcc282e12c (patch)
tree67ba62a25bde1620c950abbbb31327ff2591f0dc
parent8994ca90100d3bbe4c118d0deb2f00542054ccc4 (diff)
Prevent the default browser event handler.
Click + drag would select the entire plugin.
-rw-r--r--src/gui/pepper/event_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/pepper/event_handler.cc b/src/gui/pepper/event_handler.cc
index 4c913c589c..c40525f7e1 100644
--- a/src/gui/pepper/event_handler.cc
+++ b/src/gui/pepper/event_handler.cc
@@ -67,7 +67,7 @@ int EventHandler::handle(void* event) {
if (qt_pepper_envent_dispatcher)
qt_pepper_envent_dispatcher->queueEvent(npevent);
- return 0;
+ return 1; // we handled the event.
}
bool EventHandler::set_text_box(NPObject* text_box_object) {