fix shape support

This commit is contained in:
Dana Jansens 2002-08-27 08:18:04 +00:00
parent 07e619ebbb
commit f5a1f592a4

View file

@ -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