- make WorkSpace::numberOfDesktops() not return the hardcoded "4" but

instead the real number of desktops (fixes the desktop selection in the
  popup menu)

svn path=/trunk/kdebase/kwin/; revision=35874
This commit is contained in:
Simon Hausmann 1999-12-05 14:47:12 +00:00
parent 8d629713b5
commit 6d59623f8f

View file

@ -222,7 +222,7 @@ inline int Workspace::currentDesktop() const
*/
inline int Workspace::numberOfDesktops() const
{
return 4;
return number_of_desktops;
}
#endif