summaryrefslogtreecommitdiff
path: root/src/screen.cpp
diff options
context:
space:
mode:
authorSam Spilsbury <SmSpillaz@gmail.com>2010-06-12 15:43:36 +0800
committerSam Spilsbury <SmSpillaz@gmail.com>2010-06-12 15:43:36 +0800
commitad81a6e7b48ce68e893b4c0b13080b198f37634c (patch)
tree24f4887e8d7169563af96224d9b6990cfe651913 /src/screen.cpp
parenta9e34d283827f5bd956ae45339ac95a96e9f64ae (diff)
downloadunity-window-decorator-ad81a6e7b48ce68e893b4c0b13080b198f37634c.tar.gz
unity-window-decorator-ad81a6e7b48ce68e893b4c0b13080b198f37634c.tar.bz2
A few big changes:
* Rewrite PropertyWriter, move it out of compiztoolbox * Added CompPluginStateWriter, a serialization interface, which plugins inherit, and specify how to serialize their class members, which will be automatically unloaded and reloaded as plugins unload and reload. * Currently there are bugs with this interface, so it is disabled by default (mostly bugs to do with boost and libdl) * Depend on libboost-serialization * A few bugfixes
Diffstat (limited to 'src/screen.cpp')
-rw-r--r--src/screen.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/screen.cpp b/src/screen.cpp
index f5fc0d4..d1cc40f 100644
--- a/src/screen.cpp
+++ b/src/screen.cpp
@@ -4011,6 +4011,12 @@ CompScreen::currentHistory ()
return &priv->history[priv->currentHistory];
}
+bool
+CompScreen::shouldSerializePlugins ()
+{
+ return priv->optionGetDoSerialize ();
+}
+
void
PrivateScreen::removeDestroyed ()
{