Forward port rev 1169042: Do not drop desktop on non-existing desktops in the desktop grid.
CCBUG: 248817 svn path=/trunk/KDE/kdebase/workspace/; revision=1169043
This commit is contained in:
parent
47fce840b0
commit
0c381d3e59
1 changed files with 1 additions and 1 deletions
|
@ -586,7 +586,7 @@ void DesktopGridEffect::windowInputMouseEvent( Window, QEvent* e )
|
|||
}
|
||||
if( d != highlightedDesktop ) // Highlight desktop
|
||||
{
|
||||
if ( (me->buttons() & Qt::LeftButton) && !wasWindowMove )
|
||||
if ( (me->buttons() & Qt::LeftButton) && !wasWindowMove && d <= effects->numberOfDesktops() )
|
||||
{
|
||||
EffectWindowList windows = effects->stackingOrder();
|
||||
EffectWindowList stack;
|
||||
|
|
Loading…
Reference in a new issue