Enable quick maximization and tiling by default.

svn path=/trunk/KDE/kdebase/workspace/; revision=1041135
This commit is contained in:
Lucas Murray 2009-10-27 13:11:58 +00:00
parent 5190783741
commit 3364165bc8
2 changed files with 6 additions and 6 deletions

View file

@ -110,8 +110,8 @@ void KWinScreenEdgesConfig::load()
m_ui->desktopSwitchCombo->setCurrentIndex( config.readEntry( "ElectricBorders", 0 ));
m_ui->activationDelaySpin->setValue( config.readEntry( "ElectricBorderDelay", 150 ));
m_ui->triggerCooldownSpin->setValue( config.readEntry( "ElectricBorderCooldown", 350 ));
m_ui->quickMaximizeBox->setChecked( config.readEntry( "ElectricBorderMaximize", false ));
m_ui->quickTileBox->setChecked( config.readEntry( "ElectricBorderTiling", false ));
m_ui->quickMaximizeBox->setChecked( config.readEntry( "ElectricBorderMaximize", true ));
m_ui->quickTileBox->setChecked( config.readEntry( "ElectricBorderTiling", true ));
emit changed( false );
}
@ -146,8 +146,8 @@ void KWinScreenEdgesConfig::defaults()
m_ui->desktopSwitchCombo->setCurrentIndex( 0 );
m_ui->activationDelaySpin->setValue( 150 );
m_ui->triggerCooldownSpin->setValue( 350 );
m_ui->quickMaximizeBox->setChecked( false );
m_ui->quickTileBox->setChecked( false );
m_ui->quickMaximizeBox->setChecked( true );
m_ui->quickTileBox->setChecked( true );
emit changed( true );
}

View file

@ -146,8 +146,8 @@ unsigned long Options::updateSettings()
electric_border_delay = config.readEntry("ElectricBorderDelay", 150);
electric_border_cooldown = config.readEntry("ElectricBorderCooldown", 350);
electric_border_pushback_pixels = config.readEntry("ElectricBorderPushbackPixels", 1);
electric_border_maximize = config.readEntry("ElectricBorderMaximize", false);
electric_border_tiling = config.readEntry("ElectricBorderTiling" , false );
electric_border_maximize = config.readEntry("ElectricBorderMaximize", true);
electric_border_tiling = config.readEntry("ElectricBorderTiling", true);
OpTitlebarDblClick = windowOperation( config.readEntry("TitlebarDoubleClickCommand", "Maximize"), true );
setOpMaxButtonLeftClick( windowOperation( config.readEntry("MaximizeButtonLeftClickCommand", "Maximize"), true ));