mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:57:45 +00:00
WindowServer: Make Window::event() protected
This commit is contained in:
parent
247717431d
commit
71a9a14c17
2 changed files with 2 additions and 3 deletions
|
@ -63,7 +63,7 @@ void AppletManager::event(Core::Event& event)
|
|||
if (!applet->rect_in_menubar().contains(mouse_event.position()))
|
||||
continue;
|
||||
auto local_event = mouse_event.translated(-applet->rect_in_menubar().location());
|
||||
applet->event(local_event);
|
||||
applet->dispatch_event(local_event);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue