@@ -1128,7 +1128,11 @@ bool Container::pointerEvent(bool mouse, char evt, int x, int y, int data)
}
release();
- return (_consumeInputEvents | eventConsumed);
+ if (x > _clipBounds.x && x <= _clipBounds.x + _clipBounds.width &&
+ y > _clipBounds.y && y <= _clipBounds.y + _clipBounds.height)
+ return (_consumeInputEvents | eventConsumed);
+ else
+ return eventConsumed;
Container::Scroll Container::getScroll(const char* scroll)