summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-09-23 13:26:40 +0200
committerDanny Baumann <dannybaumann@web.de>2007-09-23 13:26:40 +0200
commit8d545da949e49c26273f8fafca2467bd44db93bf (patch)
treedda385d11b40b1806467929a67885f1801cd82f3
parent590634f29adaa2e240a3b8cbf899ab7b774a3783 (diff)
download3d-8d545da949e49c26273f8fafca2467bd44db93bf.tar.gz
3d-8d545da949e49c26273f8fafca2467bd44db93bf.tar.bz2
Only show depth for 3D windows.
-rw-r--r--3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/3d.c b/3d.c
index 03632ba..882f041 100644
--- a/3d.c
+++ b/3d.c
@@ -452,7 +452,7 @@ tdPaintWindow (CompWindow *w,
if (tds->test)
{
- if (tdGetWidth (s))
+ if (tdGetWidth (s) && (tdw->depth != 0.0f))
{
status = tdPaintWindowWithDepth (w, attrib, transform,
region, mask);