Oops, there should not be zero screens.

svn path=/trunk/KDE/kdebase/workspace/; revision=665694
This commit is contained in:
Luboš Luňák 2007-05-17 17:25:08 +00:00
parent 9b8a77d535
commit 2c1ca75e3a

View file

@ -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();
}