mirror of
https://review.haiku-os.org/haiku
synced 2025-02-01 03:06:08 +01:00
75e5739772
When dispatching a message to a BView, pass the message on to the view's MessageReceived() method rather than invoking one of its handlers (e.g. KeyDown() or MouseDown()) directly. This commit moves the existing handler-invoking logic from BWindow::DispatchMessage() into BView::MessageReceived(), preserving the existing functionality. Fixes #15254. Change-Id: I230c0781df13e54e08573a5a31d7550520c060d5 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1723 Reviewed-by: Stephan Aßmus <superstippi@gmx.de> Reviewed-by: waddlesplash <waddlesplash@gmail.com> Reviewed-by: Ryan Leavengood <leavengood@gmail.com>