- 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:
parent
8d629713b5
commit
6d59623f8f
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ inline int Workspace::currentDesktop() const
|
|||
*/
|
||||
inline int Workspace::numberOfDesktops() const
|
||||
{
|
||||
return 4;
|
||||
return number_of_desktops;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue