fixed value saving for translucency/active+dock windows (wrote floats)
svn path=/trunk/kdebase/kwin/; revision=379589
This commit is contained in:
parent
c6a2534495
commit
4ac7536d38
1 changed files with 2 additions and 2 deletions
|
@ -1448,8 +1448,8 @@ void KTranslucencyConfig::save( void )
|
|||
// (speed reasons, so the shadow matrix hasn't to be recreated for every window)
|
||||
// we set inactive windows to 100%, the radius to the inactive window value and adjust the multiplicators for docks and active windows
|
||||
// this way the user can set the three values without caring about the radius/multiplicator stuff
|
||||
config->writeEntry("DockShadowSize",100.0*dockWindowShadowSize->value()/inactiveWindowShadowSize->value());
|
||||
config->writeEntry("ActiveWindowShadowSize",100.0*activeWindowShadowSize->value()/inactiveWindowShadowSize->value());
|
||||
config->writeEntry("DockShadowSize",(int)(100.0*dockWindowShadowSize->value()/inactiveWindowShadowSize->value()));
|
||||
config->writeEntry("ActiveWindowShadowSize",(int)(100.0*activeWindowShadowSize->value()/inactiveWindowShadowSize->value()));
|
||||
config->writeEntry("InctiveWindowShadowSize",100);
|
||||
config->writeEntry("ResetKompmgr",resetKompmgr_);
|
||||
|
||||
|
|
Loading…
Reference in a new issue