From 5ef15617d1d480dcff72b2bf6c9c74ccfa40566d Mon Sep 17 00:00:00 2001 From: Urs Wolfer Date: Sun, 15 Feb 2009 10:04:01 +0000 Subject: [PATCH] * KDE4_KDE3SUPPORT_LIBS-- * warnings-- svn path=/trunk/KDE/kdebase/workspace/; revision=926381 --- events.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/events.cpp b/events.cpp index d419dbc684..577f9f6527 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()) { was_action = true; perform_handled = true; @@ -1245,6 +1245,8 @@ bool Client::buttonPressEvent( Window w, int button, int state, int x, int y, in case Button3: com = options->commandWindow3(); break; + default: + com = Options::MouseActivateAndPassClick; } } // active inner window