From d033e24e0541fc413e4ecfbae2a19d71c1a0638b Mon Sep 17 00:00:00 2001 From: Joel Bosveld Date: Wed, 8 Jul 2009 10:48:37 +0800 Subject: plugin: unredirect windows when plugin is unloaded --- plugin/src/ir.cpp | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3