webengine/osswebengine/WebCore/page/EventHandler.cpp
changeset 13 10e98eab6f85
parent 0 dd21522fd290
child 16 a359256acfc6
equal deleted inserted replaced
8:7c90e6132015 13:10e98eab6f85
  1467         
  1467         
  1468     // We always send keyDown and keyPress for all events, including autorepeat keys
  1468     // We always send keyDown and keyPress for all events, including autorepeat keys
  1469     keyDownEvent.setIsAutoRepeat(false);
  1469     keyDownEvent.setIsAutoRepeat(false);
  1470     
  1470     
  1471     bool result = !node->dispatchKeyEvent(keyDownEvent);
  1471     bool result = !node->dispatchKeyEvent(keyDownEvent);
       
  1472 
       
  1473     //***** FL added from r12765 *****//
       
  1474     if (initialKeyEvent.isKeyDown())
       
  1475         return result;
       
  1476     //**********//
  1472     
  1477     
  1473     // Focus may have change during the keyDown handling, so refetch node
  1478     // Focus may have change during the keyDown handling, so refetch node
  1474     node = eventTargetNodeForDocument(m_frame->document());
  1479     node = eventTargetNodeForDocument(m_frame->document());
  1475     if (!node)
  1480     if (!node)
  1476         return result;
  1481         return result;