Fix for RMB popup "send to desktop" when desktop number != 4
svn path=/trunk/kdebase/kwin/; revision=35971
This commit is contained in:
parent
83bd1cc680
commit
61123bd562
1 changed files with 2 additions and 2 deletions
|
@ -161,8 +161,8 @@ void Workspace::init()
|
|||
config->setGroup("Desktops");
|
||||
if (!config->hasKey("NumberOfDesktops"))
|
||||
config->writeEntry("NumberOfDesktops", 4);
|
||||
int number_of_desktops = config->readNumEntry("NumberOfDesktops");
|
||||
setNumberOfDesktops( number_of_desktops );
|
||||
int n = config->readNumEntry("NumberOfDesktops");
|
||||
setNumberOfDesktops( n );
|
||||
setCurrentDesktop( 1 );
|
||||
|
||||
unsigned int i, nwins;
|
||||
|
|
Loading…
Reference in a new issue