From 152be60cc04f81fb54fdbe0afec41470aa188d54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Fl=C3=B6ser?= Date: Thu, 22 Jun 2017 06:52:57 +0200 Subject: [PATCH] Fix double click on window deco if tripple clicked MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by Thomas Lübking which got lost in bugs.kde.org. BUG: 361241 FIXED-IN: 5.10.3 --- abstract_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abstract_client.cpp b/abstract_client.cpp index 72c68dcf65..e89a8de76b 100644 --- a/abstract_client.cpp +++ b/abstract_client.cpp @@ -1495,7 +1495,7 @@ bool AbstractClient::processDecorationButtonPress(QMouseEvent *event, bool ignor const qint64 interval = m_decoration.doubleClickTimer.elapsed(); m_decoration.doubleClickTimer.invalidate(); if (interval > QGuiApplication::styleHints()->mouseDoubleClickInterval()) { - m_decoration.doubleClickTimer.invalidate(); // expired -> new first click and pot. init + m_decoration.doubleClickTimer.start(); // expired -> new first click and pot. init } else { Workspace::self()->performWindowOperation(this, options->operationTitlebarDblClick()); dontMoveResize();