summaryrefslogtreecommitdiff
path: root/src/display.cpp
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2008-08-28 03:32:31 +0200
committerDennis Kasprzyk <onestone@compiz-fusion.org>2008-08-28 03:32:31 +0200
commit06a176a41dcc2d55731e88c7fcf6e871b65f133e (patch)
treef28bc0f876cb6fae6cb3825ea5f1164b159c0587 /src/display.cpp
parent14cfb9e5383a5fdc88910cd35fa3be198136e9b8 (diff)
downloadzcomp-06a176a41dcc2d55731e88c7fcf6e871b65f133e.tar.gz
zcomp-06a176a41dcc2d55731e88c7fcf6e871b65f133e.tar.bz2
Send core object remove notification only if removeFromParent gets called.
Diffstat (limited to 'src/display.cpp')
-rw-r--r--src/display.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/display.cpp b/src/display.cpp
index ce6e01a..214f75b 100644
--- a/src/display.cpp
+++ b/src/display.cpp
@@ -705,6 +705,8 @@ CompDisplay::~CompDisplay ()
while (!priv->screens.empty ())
removeScreen (priv->screens.front ());
+ removeFromParent ();
+
CompPlugin::objectFiniPlugins (this);
if (priv->snDisplay)