Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
KDE:KDE3
kdebase3
kdebase-pardus-dbl-clicl-default-maximize.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdebase-pardus-dbl-clicl-default-maximize.patch of Package kdebase3
From 937d4bd530e7d4f8745f1975210fc6a139a1fc01 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Ozan=20=C3=87a=C4=9Flayan?= <ozan@pardus.org.tr> Date: Fri, 24 Jun 2011 09:40:02 +0000 Subject: [PATCH] kwin: Double click defaults to maximize --- kwin/kcmkwin/kwinoptions/mouse.cpp | 2 +- kwin/options.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kwin/kcmkwin/kwinoptions/mouse.cpp b/kwin/kcmkwin/kwinoptions/mouse.cpp index f220bbf..067741b 100644 --- a/kwin/kcmkwin/kwinoptions/mouse.cpp +++ b/kwin/kcmkwin/kwinoptions/mouse.cpp @@ -530,7 +530,7 @@ const char* KTitleBarActionsConfig::functionMax( int i ) void KTitleBarActionsConfig::load() { config->setGroup("Windows"); - setComboText(coTiDbl, config->readEntry("TitlebarDoubleClickCommand","Shade").ascii()); + setComboText(coTiDbl,config->readEntry("TitlebarDoubleClickCommand","Maximize").ascii()); for (int t = 0; t < 3; ++t) setComboText(coMax[t],config->readEntry(cnf_Max[t], tbl_Max[t]).ascii()); diff --git a/kwin/options.cpp b/kwin/options.cpp index 690266f..a2742c2 100644 --- a/kwin/options.cpp +++ b/kwin/options.cpp @@ -124,7 +124,7 @@ unsigned long Options::updateSettings() electric_borders = config->readNumEntry("ElectricBorders", 0); electric_border_delay = config->readNumEntry("ElectricBorderDelay", 150); - OpTitlebarDblClick = windowOperation( config->readEntry("TitlebarDoubleClickCommand", "Shade"), true ); + OpTitlebarDblClick = windowOperation(config->readEntry("TitlebarDoubleClickCommand", "Maximize"), true ); d->OpMaxButtonLeftClick = windowOperation( config->readEntry("MaximizeButtonLeftClickCommand", "Maximize"), true ); d->OpMaxButtonMiddleClick = windowOperation( config->readEntry("MaximizeButtonMiddleClickCommand", "Maximize (vertical only)"), true ); d->OpMaxButtonRightClick = windowOperation( config->readEntry("MaximizeButtonRightClickCommand", "Maximize (horizontal only)"), true ); -- 1.6.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor