https://bugs.kde.org/show_bug.cgi?id=361241

Thomas Lübking <thomas.luebk...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |CONFIRMED

--- Comment #2 from Thomas Lübking <thomas.luebk...@gmail.com> ---
Looking at the patch, I seem to have messed it on resolving a merge conflict
(wrong indentention/linebreak and it actually doesn't make any sense the way it
is)

@Martin, better don't wait for me to push this.



diff --git a/abstract_client.cpp b/abstract_client.cpp
index b323030..aab929f 100644
--- a/abstract_client.cpp
+++ b/abstract_client.cpp
@@ -1406,14 +1406,13 @@ bool
AbstractClient::processDecorationButtonPress(QMouseEvent *event, bool ignor
             const quint64 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();
                 return false;
             }
-        }
-         else {
+        } else {
             m_decoration.doubleClickTimer.start(); // new first click and pot.
init, could be invalidated by release - see below
         }
     }

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to