diff --git a/events.cpp b/events.cpp index 577f9f6527..d419dbc684 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()) + if( !isActive() && w == wrapperId() && button < 4 ) { was_action = true; perform_handled = true; @@ -1245,8 +1245,6 @@ 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