summaryrefslogtreecommitdiff
path: root/src/decorator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/decorator.cpp')
-rw-r--r--src/decorator.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/decorator.cpp b/src/decorator.cpp
index 7986190..8e61c8c 100644
--- a/src/decorator.cpp
+++ b/src/decorator.cpp
@@ -199,6 +199,12 @@ Aquamarine::Decorator::~Decorator (void)
for (it = mClients.begin (); it != mClients.end (); it++)
delete (*it);
+ if (mDefaultShadow)
+ {
+ decor_shadow_destroy (qt_xdisplay (), mDefaultShadow);
+ mDefaultShadow = NULL;
+ }
+
if (mDecorNormal)
delete mDecorNormal;