Actually use the old position.

svn path=/branches/work/kwin_composite/; revision=656780
This commit is contained in:
Luboš Luňák 2007-04-22 11:18:51 +00:00
parent 67f6750ab3
commit 3f5213101d

View file

@ -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 ));
}