From c47d64a4cc9d9013cd6ed4f78e607cc5e1378dd5 Mon Sep 17 00:00:00 2001 From: Luciano Montanaro Date: Sun, 19 Oct 2003 09:26:34 +0000 Subject: [PATCH] I committed too hastily. This patche is the good one! svn path=/trunk/kdebase/kwin/; revision=260080 --- clients/b2/b2client.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clients/b2/b2client.cpp b/clients/b2/b2client.cpp index f2902f6035..19454482c0 100644 --- a/clients/b2/b2client.cpp +++ b/clients/b2/b2client.cpp @@ -1217,13 +1217,14 @@ void B2Titlebar::mousePressEvent( QMouseEvent * e ) if (shift_move) { moveOffset = e->globalPos(); } else { - client->processMousePressEvent(e); + e->ignore(); } } void B2Titlebar::mouseReleaseEvent( QMouseEvent * e ) { - shift_move = false; + if (shift_move) shift_move = false; + else e->ignore(); } void B2Titlebar::mouseMoveEvent( QMouseEvent * e )