summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index e65aea9e..8380d064 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -451,6 +451,16 @@ void WebView::mousePressEvent(QMouseEvent *event)
void WebView::mouseMoveEvent(QMouseEvent *event)
{
+ QPoint p = event->pos();
+ QSize s = size();
+ int x = s.width() / 2;
+ int y = s.height() - 30; // quite reasonable value, without performing requests, cause of speed
+
+ if(p.x() <= x && p.y() >= y )
+ Application::instance()->mainWindow()->setFlickeringZone(true);
+ else
+ Application::instance()->mainWindow()->setFlickeringZone(false);
+
if( url().protocol() != "rekonq" )
{
QWebView::mouseMoveEvent(event);