Revert r886439
CCBUG: 136949 svn path=/trunk/KDE/kdebase/workspace/; revision=886742
This commit is contained in:
parent
afe4f9c0e0
commit
04f26ad6bb
1 changed files with 1 additions and 1 deletions
|
@ -1209,7 +1209,7 @@ void Client::setDesktop( int desktop )
|
||||||
{
|
{
|
||||||
if( desktop != NET::OnAllDesktops ) // do range check
|
if( desktop != NET::OnAllDesktops ) // do range check
|
||||||
desktop = qMax( 1, qMin( workspace()->numberOfDesktops(), desktop ));
|
desktop = qMax( 1, qMin( workspace()->numberOfDesktops(), desktop ));
|
||||||
desktop = qMax( 1, qMin( workspace()->numberOfDesktops(), rules()->checkDesktop( desktop )));
|
desktop = rules()->checkDesktop( desktop );
|
||||||
if( desk == desktop )
|
if( desk == desktop )
|
||||||
return;
|
return;
|
||||||
int was_desk = desk;
|
int was_desk = desk;
|
||||||
|
|
Loading…
Reference in a new issue