From: Dana Jansens Date: Tue, 27 Aug 2002 08:18:04 +0000 (+0000) Subject: fix shape support X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=f5a1f592a488198528cd95decb0e0106f2f6501e;p=chaz%2Fopenbox fix shape support --- diff --git a/src/blackbox.cc b/src/blackbox.cc index e8b8dcaa..ecf69651 100644 --- a/src/blackbox.cc +++ b/src/blackbox.cc @@ -947,7 +947,7 @@ void Blackbox::process_event(XEvent *e) { XShapeEvent *shape_event = (XShapeEvent *) e; BlackboxWindow *win = searchWindow(e->xany.window); - if (win) + if (win && shape_event->kind == ShapeBounding) win->shapeEvent(shape_event); } #endif // SHAPE