default to 1 desktop if its not read from the configs

This commit is contained in:
Dana Jansens 2003-01-12 21:57:08 +00:00
parent eb752bc9c5
commit a4d4aaec3f

View file

@ -117,7 +117,7 @@ Screen::Screen(int screen)
// we have a list of desktop names
if (!python_get_long("number_of_desktops", &_num_desktops))
_num_desktops = 4;
_num_desktops = 1;
changeNumDesktops(_num_desktops); // set the hint
_desktop = 0;