mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-01 06:07:59 +00:00
WindowServer: Send all mouse events inside the menubar rect to the menubar.
This commit is contained in:
@@ -482,7 +482,7 @@ void WSWindowManager::process_mouse_event(WSMouseEvent& event)
|
||||
window->on_message(*local_event);
|
||||
}
|
||||
|
||||
if (m_current_menubar && menubar_rect().contains(event.position())) {
|
||||
if (menubar_rect().contains(event.position())) {
|
||||
handle_menubar_mouse_event(*m_current_menubar, event);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user