mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:18:12 +00:00
WindowServer: Send all mouse events inside the menubar rect to the menubar.
This commit is contained in:
parent
e03af1e8b9
commit
7def86c86d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue