summaryrefslogtreecommitdiff
path: root/src/session.cpp
diff options
context:
space:
mode:
authorRob Taylor <rob.taylor@codethink.co.uk>2011-03-16 20:27:14 +0000
committerRob Taylor <rob.taylor@codethink.co.uk>2011-03-16 20:27:14 +0000
commit08ba72d1089047a69882ec8bda66d9ed85891c4c (patch)
treefcbffbbe8124dae4f87d60cd6f0393acef117fb4 /src/session.cpp
parent0815141f03aeb30d477142fd4c46c71c6d5fcc1f (diff)
downloadmobilebling-08ba72d1089047a69882ec8bda66d9ed85891c4c.tar.gz
mobilebling-08ba72d1089047a69882ec8bda66d9ed85891c4c.tar.bz2
If there's a sesion manager, ask it to always restart compiz.
Diffstat (limited to 'src/session.cpp')
-rw-r--r--src/session.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/session.cpp b/src/session.cpp
index c05226c..3c31f8f 100644
--- a/src/session.cpp
+++ b/src/session.cpp
@@ -286,6 +286,8 @@ CompSession::init (char *prevClientId)
connected = true;
if (prevClientId)
smPrevClientId = strdup (prevClientId);
+ setRestartStyle (smcConnection, SmRestartImmediately);
+
}
}
}