Oops, there should not be zero screens.
svn path=/trunk/KDE/kdebase/workspace/; revision=665694
This commit is contained in:
parent
9b8a77d535
commit
2c1ca75e3a
1 changed files with 1 additions and 1 deletions
|
@ -1606,7 +1606,7 @@ void Workspace::sendClientToDesktop( Client* c, int desk, bool dont_activate )
|
|||
int Workspace::numScreens() const
|
||||
{
|
||||
if( !options->xineramaEnabled )
|
||||
return 0;
|
||||
return 1;
|
||||
return qApp->desktop()->numScreens();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue