From 3364165bc85cc353c8dca7fd27c201fbc794a722 Mon Sep 17 00:00:00 2001 From: Lucas Murray Date: Tue, 27 Oct 2009 13:11:58 +0000 Subject: [PATCH] Enable quick maximization and tiling by default. svn path=/trunk/KDE/kdebase/workspace/; revision=1041135 --- kcmkwin/kwinscreenedges/main.cpp | 8 ++++---- options.cpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/kcmkwin/kwinscreenedges/main.cpp b/kcmkwin/kwinscreenedges/main.cpp index 8cd85eb7c2..2ab86e8349 100644 --- a/kcmkwin/kwinscreenedges/main.cpp +++ b/kcmkwin/kwinscreenedges/main.cpp @@ -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 ); } diff --git a/options.cpp b/options.cpp index 8ae6a16b6a..5176dfa2bc 100644 --- a/options.cpp +++ b/options.cpp @@ -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 ));