summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-07-08 10:08:16 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-07-08 10:08:16 -0500
commit254f87a94af907df630e98535662b762bd4c9ae5 (patch)
treeb0da3a1e280a4614c6c90c737a44e025af8c3e3f /include
parentffa7d89359818ebecf66aae9068f702e9ccf7139 (diff)
downloadzcomp-254f87a94af907df630e98535662b762bd4c9ae5.tar.gz
zcomp-254f87a94af907df630e98535662b762bd4c9ae5.tar.bz2
Add hasUnmapReference and use it in decor.
This prevents a window's decoration to be updated early while it is closing, which isn't necessary anyway. This problem leads to a close animation with an empty frame.
Diffstat (limited to 'include')
-rw-r--r--include/core/window.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/window.h b/include/core/window.h
index 2b4f358..fb276e0 100644
--- a/include/core/window.h
+++ b/include/core/window.h
@@ -367,6 +367,8 @@ class CompWindow :
void incrementDestroyReference ();
+ bool hasUnmapReference ();
+
bool resize (XWindowAttributes);
bool resize (Geometry);