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

CCBUG: 249325

svn path=/trunk/KDE/kdebase/workspace/; revision=1169146
icc-effect-5.14.5
Martin Gräßlin 2010-08-28 14:13:26 +00:00
parent abcef60190
commit 8c2c23697b
1 changed files with 2 additions and 0 deletions

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