Forward port rev 1169145: Drop keyboard events while moving windows in desktop grid.

CCBUG: 249325

svn path=/trunk/KDE/kdebase/workspace/; revision=1169146
This commit is contained in:
Martin Gräßlin 2010-08-28 14:13:26 +00:00
parent abcef60190
commit 8c2c23697b

View file

@ -749,6 +749,8 @@ void DesktopGridEffect::grabbedKeyboardEvent( QKeyEvent* e )
{
if( timeline.value() != 1 ) // Block user input during animations
return;
if( windowMove != NULL )
return;
if( e->type() == QEvent::KeyPress )
{
// check for global shortcuts