summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Bosveld <Joel.Bosveld@gmail.com>2009-06-25 12:50:30 +0800
committerJoel Bosveld <Joel.Bosveld@gmail.com>2009-06-25 12:50:30 +0800
commit34d63f5ef406a40bac431e4a2805edf196433efb (patch)
tree0d5893cd4e3ac1849fe98f8d331adec70c004d95
parent0ac1f017e7b5a6a6f71cddbf04778d16137c1cc4 (diff)
plugin: the window may not have a frame, so use ROOTPARENT(w)
-rw-r--r--plugin/src/ir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/src/ir.cpp b/plugin/src/ir.cpp
index 9d27100..61ae5a2 100644
--- a/plugin/src/ir.cpp
+++ b/plugin/src/ir.cpp
@@ -105,7 +105,7 @@ IrWindow::updateMesh ()
i++;
XCompositeSetTriangularCoordinateMesh (screen->dpy (),
- window->frame (),
+ ROOTPARENT (window),
triangles,
i*4, 0);
}