mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-23 04:55:15 +00:00
WindowServer: Send all mouse events inside the menubar rect to the menubar.
This commit is contained in:
parent
e03af1e8b9
commit
7def86c86d
Notes:
sideshowbarker
2024-07-19 15:46:36 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/7def86c86d0
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
Reference in a new issue