summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Bosveld <Joel.Bosveld@gmail.com>2009-07-08 10:48:37 +0800
committerJoel Bosveld <Joel.Bosveld@gmail.com>2009-07-08 10:48:37 +0800
commitd033e24e0541fc413e4ecfbae2a19d71c1a0638b (patch)
tree3cf2c5c3c101b60172815eb2e1f9d6552773a686
parente78d59c3acd6886101add2e227ff205091361a85 (diff)
plugin: unredirect windows when plugin is unloaded
-rw-r--r--plugin/src/ir.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/src/ir.cpp b/plugin/src/ir.cpp
index db38291..f1c2a2a 100644
--- a/plugin/src/ir.cpp
+++ b/plugin/src/ir.cpp
@@ -289,6 +289,7 @@ IrWindow::~IrWindow ()
{
XCompositeSetTriangularCoordinateMesh (screen->dpy (), ROOTPARENT (window),
NULL, 0, 0);
+ XCompositeRedirectWindowInput (screen->dpy(), ROOTPARENT(window), ROOTPARENT(window));
}
bool