From 18c0f2687a158a53dfcbd2820af22d874265eb51 Mon Sep 17 00:00:00 2001 From: Matthias Ettrich Date: Tue, 7 Aug 2001 09:21:09 +0000 Subject: [PATCH] fixed bug 19369@bugs.kde.org svn path=/trunk/kdebase/kwin/; revision=109466 --- client.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client.cpp b/client.cpp index 506fdc76ac..7bcbf183f4 100644 --- a/client.cpp +++ b/client.cpp @@ -411,7 +411,8 @@ bool WindowWrapper::x11Event( XEvent * e) if ( ((Client*)parentWidget())->isActive() && ( options->focusPolicy != Options::ClickToFocus && options->clickRaise && !bModKeyHeld ) ) { - ((Client*)parentWidget())->autoRaise(); + if ( e->xbutton.button < 4 ) // exclude wheel + ((Client*)parentWidget())->autoRaise(); ungrabButton( winId(), None ); }