diff --git a/workspace.h b/workspace.h index f03a981f03..df9dc3c7f3 100644 --- a/workspace.h +++ b/workspace.h @@ -222,7 +222,7 @@ inline int Workspace::currentDesktop() const */ inline int Workspace::numberOfDesktops() const { - return 4; + return number_of_desktops; } #endif