Hello,
here a patch fixing middle click behaviour in scrollbar (disable autoscroll for
scrollbar).
Andrea, is there something wrong with my history/errorpage patch ?
Regards,
--
Cédric Bellegarde
diff --git a/src/webview.cpp b/src/webview.cpp
index e722674..899bf49 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -319,7 +319,7 @@ void WebView::mousePressEvent(QMouseEvent *event)
}
QWebHitTestResult result = page()->mainFrame()->hitTestContent(event->pos());
- _canEnableAutoScroll = !result.isContentEditable() && result.linkUrl().isEmpty();
+ _canEnableAutoScroll = (page()->mainFrame()->contentsSize().width() > event->pos().x()) && !result.isContentEditable() && result.linkUrl().isEmpty();
switch (event->button())
{
_______________________________________________
rekonq mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/rekonq