[patch] khtml bug 97749: mmb outside a focussed text field pastes text

Leo Savernik l.savernik at aon.at
Mon Jan 31 11:27:54 GMT 2005


Am Montag, 31. Januar 2005 00:22 schrieb Stefan Nikolaus:
>      DOM::NodeImpl* fn = m_part->xmlDocImpl()->focusNode();
>      if (fn && fn != mev.innerNode.handle() &&
> -        fn->renderer() && fn->renderer()->isWidget()) {
> +        fn->renderer() && fn->renderer()->isWidget() &&
> +        _mouse->button() != MidButton) {
>          
forwardPeripheralEvent(static_cast<khtml::RenderWidget*>(fn->renderer()), 
_mouse, xm, ym);
>      }


Are you sure this doesn't break mmb opening of urls?

mfg
 Leo
  




More information about the kde-core-devel mailing list