X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fblackbox.cc;h=ecf69651665c488ea929eedbc1d4d3211798edb3;hb=8b55442b2e0893f3064e88c4372bd0ecf00ba830;hp=e8b8dcaaf5210b4985acda63be926f2d3075a5b9;hpb=8a48fff773dea20ab93ee8f22b281e852b51242e;p=chaz%2Fopenbox 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