summaryrefslogtreecommitdiffstats
path: root/kwin/sm.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-07 19:42:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-07 19:42:15 +0000
commit9cc1e2c1aa2629d499e7555acd4906d6cc989cf9 (patch)
tree2a737f47bb029688c2f5ebef76869903cf4b4eec /kwin/sm.cpp
parenteaa51fec106463800192924168eaf9f03f188655 (diff)
downloadtdebase-9cc1e2c1aa2629d499e7555acd4906d6cc989cf9.tar.gz
tdebase-9cc1e2c1aa2629d499e7555acd4906d6cc989cf9.zip
Merged in remaining kdebase bugfixes from the Chakra project
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1172677 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/sm.cpp')
-rw-r--r--kwin/sm.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kwin/sm.cpp b/kwin/sm.cpp
index d13c6b18b..31cada7e0 100644
--- a/kwin/sm.cpp
+++ b/kwin/sm.cpp
@@ -106,6 +106,7 @@ void Workspace::storeSession( KConfig* config, SMSavePhase phase )
// the config entry is called "sticky" for back. comp. reasons
config->writeEntry( TQString("sticky")+n, c->isOnAllDesktops() );
config->writeEntry( TQString("shaded")+n, c->isShade() );
+ config->writeEntry( TQString("shadowed")+n, c->isShadowed() );
// the config entry is called "staysOnTop" for back. comp. reasons
config->writeEntry( TQString("staysOnTop")+n, c->keepAbove() );
config->writeEntry( TQString("keepBelow")+n, c->keepBelow() );
@@ -172,6 +173,7 @@ void Workspace::loadSessionInfo()
info->minimized = config->readBoolEntry( TQString("iconified")+n, FALSE );
info->onAllDesktops = config->readBoolEntry( TQString("sticky")+n, FALSE );
info->shaded = config->readBoolEntry( TQString("shaded")+n, FALSE );
+ info->shadowed = config->readBoolEntry( TQString("shadowed")+n, TRUE );
info->keepAbove = config->readBoolEntry( TQString("staysOnTop")+n, FALSE );
info->keepBelow = config->readBoolEntry( TQString("keepBelow")+n, FALSE );
info->skipTaskbar = config->readBoolEntry( TQString("skipTaskbar")+n, FALSE );