Allow moving of even non-movable windows between virtual desktops using the middle
mouse button (and also right button, newly, I guess that one is easier to use). BUG: 153931 svn path=/trunk/KDE/kdebase/workspace/; revision=749711
This commit is contained in:
parent
e173e55c8e
commit
a66ee67b28
1 changed files with 2 additions and 2 deletions
|
@ -503,10 +503,10 @@ void DesktopGridEffect::windowInputMouseEvent( Window, QEvent* e )
|
|||
effects->setElevatedWindow( window_move, true );
|
||||
}
|
||||
}
|
||||
else if( me->buttons() == Qt::MidButton && window_move == NULL )
|
||||
else if(( me->buttons() == Qt::MidButton || me->buttons() == Qt::RightButton ) && window_move == NULL )
|
||||
{
|
||||
EffectWindow* w = windowAt( me->pos());
|
||||
if( w != NULL && w->isMovable())
|
||||
if( w != NULL )
|
||||
{
|
||||
if( w->isOnAllDesktops())
|
||||
effects->windowToDesktop( w, posToDesktop( me->pos()));
|
||||
|
|
Loading…
Reference in a new issue