Fix default of hidden previews to be for shown windows.
svn path=/trunk/KDE/kdebase/workspace/; revision=866676
This commit is contained in:
parent
0ca1edbfe8
commit
79c05cde7d
2 changed files with 2 additions and 2 deletions
|
@ -125,7 +125,7 @@ void KWinAdvancedCompositingOptions::load()
|
|||
KConfigGroup config(mKWinConfig, "Compositing");
|
||||
QString backend = config.readEntry("Backend", "OpenGL");
|
||||
ui.compositingType->setCurrentIndex((backend == "XRender") ? 1 : 0);
|
||||
int hps = config.readEntry("HiddenPreviews", 0);
|
||||
int hps = config.readEntry("HiddenPreviews", 3);
|
||||
if( hps == 1 ) // always
|
||||
ui.windowThumbnails->setCurrentIndex( 0 );
|
||||
else if( hps == 0 ) // never
|
||||
|
|
|
@ -227,7 +227,7 @@ void Options::reloadCompositingSettings(const CompositingPrefs& prefs)
|
|||
xrenderSmoothScale = config.readEntry("XRenderSmoothScale", false );
|
||||
|
||||
hiddenPreviews = HiddenPreviewsShown;
|
||||
int hps = config.readEntry( "HiddenPreviews", int(HiddenPreviewsShown) );
|
||||
int hps = config.readEntry( "HiddenPreviews", 3 );
|
||||
if( hps == 0 )
|
||||
hiddenPreviews = HiddenPreviewsNever;
|
||||
else if( hps == 3 )
|
||||
|
|
Loading…
Reference in a new issue