From 72521c56917ae7249aad05ce9444a73d9fcd05f6 Mon Sep 17 00:00:00 2001 From: "A. Lynn Spehr" Date: Thu, 7 May 2009 23:24:20 +0000 Subject: [PATCH] This somehow escaped being included in r964140... CCBUG:164261 svn path=/trunk/KDE/kdebase/workspace/; revision=965103 --- events.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/events.cpp b/events.cpp index 8de2e411cf..008b32eb6f 100644 --- a/events.cpp +++ b/events.cpp @@ -1230,7 +1230,7 @@ bool Client::buttonPressEvent( Window w, int button, int state, int x, int y, in } else { // inactive inner window - if( !isActive() && w == wrapperId() && button < 4 ) + if( !isActive() && w == wrapperId() && button < 6 ) { was_action = true; perform_handled = true; @@ -1245,8 +1245,12 @@ bool Client::buttonPressEvent( Window w, int button, int state, int x, int y, in case Button3: com = options->commandWindow3(); break; + case Button4: + case Button5: + com = options->commandWindowWheel(); + break; } - } + } // active inner window if( isActive() && w == wrapperId() && options->clickRaise && button < 4 ) // exclude wheel