diff --git a/workspace.cpp b/workspace.cpp index 187d28c910..a60d660180 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -2613,7 +2613,7 @@ void Workspace::checkCursorPos() int lastb = last_buttons; cursorPos(); // update if needed if( last != last_cursor_pos || lastb != last_buttons ) - static_cast< EffectsHandlerImpl* >( effects )->mouseChanged( cursorPos(), last_cursor_pos, + static_cast< EffectsHandlerImpl* >( effects )->mouseChanged( cursorPos(), last, x11ToQtMouseButtons( last_buttons ), x11ToQtKeyboardModifiers( last_buttons )); }