rem: if (event->type == (ShapeEventBase+ShapeNotify)) {
add: if (wShapeSupported && event->type == (wShapeEventBase+ShapeNotify)) {
context: handleExtensions(XEvent *event){#ifdef SHAPE    if (event->type == (ShapeEventBase+ShapeNotify)) {	handleShapeNotify(event);    }#endif	}