Commit 4406c881 authored by Robert Knight's avatar Robert Knight

Only update URL filter when mouse is hovering over the view.

svn path=/branches/work/konsole-split-view/; revision=658419
parent ab6cfe68
......@@ -225,8 +225,12 @@ bool SessionController::eventFilter(QObject* watched , QEvent* event)
// when a mouse move is received, create the URL filter and listen for output changes if
// it has not already been created. If it already exists, then update only if the output
// has changed since the last update ( _urlFilterUpdateRequired == true )
// also check that no mouse buttons are pressed since the URL filter only applies when
// the mouse is hovering over the view
if ( event->type() == QEvent::MouseMove &&
(!_viewUrlFilter || _urlFilterUpdateRequired) )
(!_viewUrlFilter || _urlFilterUpdateRequired) &&
((QMouseEvent*)event)->buttons() == Qt::NoButton )
if ( _view->screenWindow() && !_viewUrlFilter )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment